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.

CSS Forum


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



Reply
CSS layout nightmares
Old 12-26-2006, 10:40 AM CSS layout nightmares
Junior Talker

Posts: 1
Name: Brian
Trades: 0
Hi all.

Thanks in advance for looking at this and giving me some feedback. Here is the link for the site as it stands at the moment.

http://www.capitalwebtec.com/clients/kls/template.htm

There are several problems with this layout as it stands. Here they are:

1. In FF the background image in the bottom content area does not render at all

2. In IE there is a blank white space at the bottom of the layout that shouldn't be there.

3. The list in the content area will not display bullets for some reason

4. The left side (yellow area) appears outside the wrapper for some reason in FF.

5. The links on the right side of the page do not use the hover color change that I have specified for some reason.

Any help you can give me with this is appreciated. I have done several all CSS layout site before and have nothad this many issues.

Thanks again,
Brian
blandis is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-26-2006, 12:36 PM Re: CSS layout nightmares
Skilled Talker

Posts: 94
Trades: 0
Would be a good idea to post the HTML and CSS so people can look at it ^^.
the background shows in EI, and not in FF, and as you said, the yellow background runs out of the wrapper, i think you might of set it a height? im still new to css and without seeing your code i cant help. :<
hellhound121 is offline
Reply With Quote
View Public Profile
 
Old 12-26-2006, 12:56 PM Re: CSS layout nightmares
Banned

Posts: 905
Name: Travel Agent
Trades: 0
The reason you're having problems is, you didn't name your CSS file correctly as it comes up as an error, shown here:

http://www.capitalwebtec.com/clients...tm/kls_css.css

Once you correct that, then you can go forward.
travelagent is offline
Reply With Quote
View Public Profile
 
Old 12-26-2006, 09:27 PM Re: CSS layout nightmares
Super Talker

Posts: 124
Name: Chris
Trades: 0
Quote:
Originally Posted by hellhound121 View Post
Would be a good idea to post the HTML and CSS so people can look at it ^^.
the background shows in EI, and not in FF, and as you said, the yellow background runs out of the wrapper, i think you might of set it a height? im still new to css and without seeing your code i cant help. :<
Hit Ctrl+U or go to View -> Page Source in your browser. It shows the html source there

To find the CSS look for anything in <style> or <link type="text/css"> then copy and paste the file to the domain he gave us.

http://www.capitalwebtec.com/clients/kls/kls_css.css

----------------------------------------------------------------------------

Ok Blandis a few things I noticed right off the bat within your html. Take a look at your navigation system. You added:

[code]
<ul margin: 0px; class="menu">
[/code]

Two ways to fix this, either add it in your css as:

Code:
ul.menu { margin: 0; }
The above code states that any <ul> tag that has class menu give them all a margin of 0.
Say you gave your ul an id instead like:

Code:
<ul id="navbar">
Then you would put this in your css instead:

Code:
ul#navbar { margin: 0; }
Code:
<ul style="margin: 0;" class="menu">
If you want all your <ul>'s to have no margin you can put this in the css file:

Code:
ul { margin: 0; }
You can leave out the "px" after the 0, since either way its nothing. (I know its only 4 bytes of space...but hey it adds up!)


Now that I have looked through all of your html, you do this quite frequently. You must add a style="" in order to do this you can't just add it in there. Im not sure if you are using XSL/XML to form the page but this is incorrect html syntax. A list below of all the occurences you should fix:

Code:
<div id="leftside" text-align:left;> 

<ul margin: 0px; class="leftnav">

<ul margin: 0px; class="bodytext">
It looks like you add margin: 0; all over the page for your <ul>'s so my suggestion is to put: ul { margin: 0 } somewhere in your css. I usually define what I call those as global tags at the very top of my css in case I need to go back and change them later. By global tags I mean things that will effect every single thing having to do with that tag, for example: body, img, a, etc.
__________________
Chris - Trying to help others and learn myself!

Please login or register to view this content. Registration is FREE

Last edited by ctess; 12-26-2006 at 09:37 PM..
ctess is offline
Reply With Quote
View Public Profile
 
Old 12-26-2006, 09:52 PM Re: CSS layout nightmares
Super Talker

Posts: 124
Name: Chris
Trades: 0
1. The reason your bg image isn't showing up is because there is nothing there. If you add a border to #content you can see that it "says" there is nothing to #content. Not sure what to do to fix this as of yet, just caught it.
__________________
Chris - Trying to help others and learn myself!

Please login or register to view this content. Registration is FREE
ctess is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS layout nightmares
 

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