Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-27-2002, 08:45 PM   #1
Member (7 bit)
 
Join Date: Jan 2002
Location: Barcelona
Posts: 85
XHTML questions

How can I insert a background image in XHTML and also have it validate at w3.validator.org? Any ideas?
Also, how can I get my bottom menu-bar to be at the bottom of the screen rather than half way up on empty-ish pages? Is there any way to root it there?
Any ideas would be much appreciated.
Craig Taylor
craigtaylor74 is offline   Reply With Quote
Old 11-28-2002, 03:45 PM   #2
Member (6 bit)
 
Join Date: May 2002
Location: Scotland
Posts: 33
Send a message via ICQ to CraigMcD Send a message via AIM to CraigMcD Send a message via Yahoo to CraigMcD
To insert a background you need to use CSS. Like this:

[style type="text/css"][!--
body { background:url('path') }
//--][/style]

Obviously you will need to substitute the right brackets.

The second thing you ask is hard. The easiest option would be to insert extra line breaks at the end. You could also use a table which took up the whole area of the page which had two rows. The first row would automatically expand whereas the second would contain the menu bar and be fixed.
CraigMcD is offline   Reply With Quote
Old 11-28-2002, 04:13 PM   #3
Member (7 bit)
 
Join Date: Jan 2002
Location: Barcelona
Posts: 85
ta

thanks. I'll give that a try.
craigtaylor74 is offline   Reply With Quote
Old 11-28-2002, 04:46 PM   #4
aym
Registered User
 
aym's Avatar
 
Join Date: Nov 2001
Posts: 1,965
No need for CSS, simply use:
PHP Code:
<body background="image.jpg"
I didn't understand your second question, could you please explain more?
aym is offline   Reply With Quote
Old 11-29-2002, 05:47 AM   #5
Member (7 bit)
 
Join Date: Jan 2002
Location: Barcelona
Posts: 85
must validate xhtml

yeah, that works but what I really need is to have it validate as XHTML (using the w3 validator) and so far I haven't been able to do that. unless you have any ideas I may just use CSS as that validates easily.
craigtaylor74 is offline   Reply With Quote
Old 11-29-2002, 05:52 AM   #6
Banned
 
morriswindgate's Avatar
 
Join Date: Jul 2000
Location: Bakersfield,CA
Posts: 7,761
All the information on computer programs, including XHTML, that you will ever want to know in Quicktime format.

http://training.orangeusd.k12.ca.us/...tranetlist.htm
morriswindgate is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:05 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2