Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2009-07-29, 11:33 AM   #1
Mr Spock
You can now put whatever you want in this space :)
 
Mr Spock's Avatar
 
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
Mr Spock is offline   Reply With Quote
Old 2009-07-29, 01:37 PM   #2
ecchi
Banned
 
ecchi's Avatar
 
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.
ecchi is offline   Reply With Quote
Old 2009-07-29, 01:50 PM   #3
bDok
bang bang
 
bDok's Avatar
 
Join Date: Mar 2005
Location: SD/OC/LA
Posts: 3,241
Send a message via ICQ to bDok
I do this by using css

Quote:
body { margin:0; padding:0; }
__________________
submit to Nymphotic
submit to Moistlace
bDok is offline   Reply With Quote
Old 2009-07-29, 01:53 PM   #4
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
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.

Quote:
Originally Posted by ecchi View Post
marginwidth=0 leftmargin=0 marginheight=0 topmargin=0
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..
Useless is offline   Reply With Quote
Old 2009-07-29, 02:54 PM   #5
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
Quote:
Originally Posted by Useless Warrior View Post
That's some antiquated and invalid HTML.
But it still works, just like this antiquated webmaster.
Toby is offline   Reply With Quote
Old 2009-07-29, 03:41 PM   #6
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Quote:
Originally Posted by Toby View Post
But it still works, just like this antiquated webmaster.
Old man!
One should at least put the numeric values in quotes.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2009-07-30, 12:08 AM   #7
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Quote:
Originally Posted by Useless Warrior View Post
Old man!
One should at least put the numeric values in quotes.
Umm, insisting on putting in the quotes is a sign that you are an 'old man'.
ecchi is offline   Reply With Quote
Reply


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 Off

Forum Jump


All times are GMT -4. The time now is 08:45 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc