|
2009-07-29, 11:33 AM | #1 |
You can now put whatever you want in this space :)
Join Date: Nov 2006
Location: Vulcan
Posts: 695
|
Layout Question
Why does the strapline not extend all the way to the page end - on my local machine it looks right , but once uploaded it looks like this:
http://www.sluttypunks.com/tgp/ I want it to run all the way across the page(100%) like the green bit at the top here at GG&J. Please help as its driving me nuts |
2009-07-29, 01:37 PM | #2 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
Your problem is that most browsers put a thin margin all around the edge of the page. You can get rid of it by placing:
marginwidth=0 leftmargin=0 marginheight=0 topmargin=0 in the body tag (or just zero the particular attributes you want zeroed). However be aware that this effects the ENTIRE page, so text will start right on the edge of the page (the first letter of every line will touch the frame of the browser). Since I have only ever used this when the page is one big table I get round it by having a margin round cells with text in them. I am guessing that if you are not using tables that there is some trick you can do with style sheets to avoid the text touching the edge, but I am not good at style sheets, so I'll have to let someone else offer a solution that way. |
2009-07-29, 01:53 PM | #4 |
Certified Nice Person
|
Add
margin:0 auto; to this: body,td,th { font-size: 14px; font-weight: bold; } By the way, you have an </style> but not a <style type="text/css"> in your head. EDIT: found it. That's some antiquated and invalid HTML.
__________________
Click here to purchase a bridge I'm selling. Last edited by Useless; 2009-07-29 at 02:01 PM.. |
2009-07-29, 02:54 PM | #5 |
Lonewolf Internet Sales
|
But it still works, just like this antiquated webmaster.
|
2009-07-29, 03:41 PM | #6 |
Certified Nice Person
|
Old man!
One should at least put the numeric values in quotes.
__________________
Click here to purchase a bridge I'm selling. |
2009-07-30, 12:08 AM | #7 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
|
|
|