Well, I've designed the basic layout for my new page.
I'm having a couple of problems that I know you gurus (!) can help with.
CSS
HTML:Code:html,body {margin:0;padding:0} BODY { background-color: #f4FFFF; background-position: 0% 0%; background-repeat: no-repeat; font-family: Verdana, sans-serif; font-size: 12px; color: #000000; text-align:left; } a { color: #FFFFFF; text-decoration: none; } a:hover { text-decoration: none; color: #FFFFFF; } a:visited { text-decoration: none; color: #FFFFFF; } #logo { position: float; margin:auto; width:100%; left: 0px; padding: 10px; top: 0px; border: 1px Solid; } * html #logo {height:50px} #right { position:absolute; top:80px; right:5px; padding: 5px; width: 150px; height: 60px; border: 1px Solid; } #left { position: absolute; left:5px; padding: 5px; width: 150px; top: 80px; border: 1px solid; text-align:left; } #content { position: float; margin-top:0px; margin-left:175px; margin-right:175px; padding: 5px; min-height: 100px; text-align:center; border: 0px Solid; } * html #content {height:400px;} #footer { position: float; margin:auto; width:100%; left: 0px; padding: 10px; top: 0px; border: 1px Solid; }
Now the problems:Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <html> <head> <LINK href="layout.css" rel=stylesheet type=text/css> <title>Page Title</title> </head> <body> <div id=logo> Logo</div> <div id=right>menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br></div> <div id=left> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br> menu item 1<br> menu item 2<br></div> <div id=content align="center"> This will be the main page for the Mini Club Website.<br> asdkufyhafsd; yiawevronawevfyonaevwfyounawef vyounavwef#awe <br> awevaevwfpoaevwfpmawevfmue vfawuimoea wvfuiomawevfumievawf<br> This is just padding to find out what happens with the text. I hope that it will hit the margin and roll to the next line. We'll see!!!! </div> <div id=footer> footer </div> </body> </html>
1. This is good in IE. In Firefox it's jumbled - the footer is half way up the main content.
2. I would like to add individual sections down the left and right side of the page so that I can declare individual PHP includes (for content) into their own DIVs. Anyone got an idea of how to do this please?
If it helps, I am aiming for the sections down the left and right as in this site: http://62.254.205.205/hc/
Thanks in advance for your help folks!
Collin






)

Bookmarks