Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 01-01-2008, 01:17 PM top margin
Skilled Talker

Posts: 68
Trades: 0
Would anyone be able to tell me what the problem is with the top margin here. The woman editing the website added in a background (I'm not sure if she wants it to look like this yet or is trying to get a repeat background), but she wants there to be no margin at the top. I set margins to 0px, but it still isn't working. http://www.qtsunglasses.net Any help would be appreciated
kayla2 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-01-2008, 01:43 PM Re: top margin
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Well first off it needs this

HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 
<html><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
putting right

and then this pointless message;
HTML Code:
!-- THIS TEMPLATE, IT'S HTML CODE, LAYOUT AND GRAPHICS ARE ALL COPYRIGHT 2006 REALLEZ.COM 
YOU MAY NOT COPY ANYTHING FROM THIS PAGE. THOSE CAUGHT STEALING WILL BE PROSECUTED! 
JUST BECAUSE IT'S ONLINE, DOESN'T MEAN THAT IT'S FREE -->
and all the white space silliness under it removing, because that will pretty much guarantee that it will be "different" in Internet Explorer
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-01-2008, 01:46 PM Re: top margin
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
The body in the CSS was listed twice. One had the margin and the other the background image which caused the first to be overridden. Put them together like this and the margin at the top disappears.

Code:
body {
    background-image: url(http://www.qtsunglasses.net/fpdb/images/Theme0/blue2.jpg);
    background-repeat: repeat-x; 
    background-color: #fffffff;
    margin: 0px;
    padding: 0px;
    font-family: Century Gothic, Helvetica, sans-serif;
    font-size: 11px;
    font-style: normal;
    color: #C0C0C0;
}
joder is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to top margin
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.40865 seconds with 12 queries