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
Help With Width - Please Help Me If You Know CSS or vBulletin
Old 08-01-2006, 04:17 PM Help With Width - Please Help Me If You Know CSS or vBulletin
EGS
EGS's Avatar
Banned

Posts: 862
Name: Justice McCay
Location: New Jersey
Trades: 2
Hey. I need help!

Webmasters Talk - Internet Marketing, Online Business, and SEO Webmaster Forum - why does the top go to the right!? I put the body width for 100% but for some reason the top part, the header, is going off to the right. Can someone please help me if they know vBulletin or CSS.

Just view source code for my CSS thanks!! Help appreciated!
EGS is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-01-2006, 04:36 PM Re: Help With Width - Please Help Me If You Know CSS or vBulletin
Hamill's Avatar
Novice Talker

Posts: 13
Name: James
Trades: 0
After looking at your code, the only possible fault could be in your header class.
Code:
 
#header h1 a {
background: url(images/skins/webmasterstalk/misc/vbulletin3_logo_white.gif) no-repeat;
display: block;
float: left;
height: 0;
overflow: hidden;
padding-top: 45px;
width: 246px;
}
The way i understand the 'float' value is that it is now allowing text or an image to wrap around it, whilst the header is aligned to the left. The image that is being wrapped around the header being the advertisement.

I hope that may fix it, but im still learning so don't count on me
Hamill is offline
Reply With Quote
View Public Profile
 
Old 08-01-2006, 04:52 PM Re: Help With Width - Please Help Me If You Know CSS or vBulletin
EGS
EGS's Avatar
Banned

Posts: 862
Name: Justice McCay
Location: New Jersey
Trades: 2
Quote:
Originally Posted by Hamill View Post
After looking at your code, the only possible fault could be in your header class.
Code:
 
#header h1 a {
background: url(images/skins/webmasterstalk/misc/vbulletin3_logo_white.gif) no-repeat;
display: block;
float: left;
height: 0;
overflow: hidden;
padding-top: 45px;
width: 246px;
}
The way i understand the 'float' value is that it is now allowing text or an image to wrap around it, whilst the header is aligned to the left. The image that is being wrapped around the header being the advertisement.

I hope that may fix it, but im still learning so don't count on me
How do I fix it or what do I need to change?
EGS is offline
Reply With Quote
View Public Profile
 
Old 08-02-2006, 09:39 AM Re: Help With Width - Please Help Me If You Know CSS or vBulletin
Hamill's Avatar
Novice Talker

Posts: 13
Name: James
Trades: 0
Remove the float: left; syntax, and if you want the banner to be centred then add text-align: center;

Hope this works.
Hamill is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help With Width - Please Help Me If You Know CSS or vBulletin
 

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.31456 seconds with 12 queries