Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 10-11-2007, 08:31 AM   #1 (permalink)
New Member
 
Join Date: Oct 2007
Location: Miami, FL
Posts: 4
Default CSS Woes

Hey guys,

I've been working on my company's website for a few weeks now and I'm having some last minute troubles. I say last minute because once I fix these problems I can publish the site.

I'm relatively new to web design but I have gone through some training DVDs about Dreamweaver essentials so I'm not completely lost but troubleshooting is almost impossible. Any help would be greatly appreciated.

The first problem I'm running into is with my CSS layout. In Dreamweaver and Firefox my website displays as it should but in IE the two last characters of text inside one of my divs are also displaying in it's immediate outer div. Its rather strange because the last two characters and only the very last two characters appear inside the div (where it should be) and outside of the div.

Here are some screenshots:
http://i111.photobucket.com/albums/n...zard/img01.jpg
http://i111.photobucket.com/albums/n...zard/img02.jpg

I don't understand why this is happening and I've played with a lot of different settings and nothing. However if I float the bottom right div to the left and reduce it's width the problem goes away. Yes this fixes my problem per se but I have that nasty gap on the right hand side of the outer div if I leave it like this.

Ex:
http://i111.photobucket.com/albums/n...zard/img03.jpg

The second problem that I'm having is that ever since I added an onClick open browser window behavior I get the yellow information bar that pops up in IE (see above screenshot). Man I'm really starting to hate designing for IE =/. Is there any way to have javascript on your page without getting that information bar every time someone visits your page?

Any help is greatly appreciated.
thewzard is offline   Reply With Quote
Old 10-12-2007, 04:23 PM   #2 (permalink)
New Member
 
Join Date: Oct 2007
Location: Miami, FL
Posts: 4
Default Update

Upon further inspection it seems to be a padding/margin/width issue. For some strange reason Internet Explorer and Firefox don't agree upon the behavior of padding. You would think that something so simple would not create such a problem.

I've tried adjusting this thing for two days and its almost like I'm going in circles. If I fix it in one browser I end up messing it up in the other. There has to be a simpler way to do this or else creating a website would take ages. Maybe I should just create a table and go that route instead of trying to keep it in divs.
thewzard is offline   Reply With Quote
Old 10-12-2007, 08:48 PM   #3 (permalink)
Super Noob
 
zkiller's Avatar
 
Join Date: Aug 2004
Location: position:relative
Posts: 1,560
Send a message via AIM to zkiller Send a message via Yahoo to zkiller
Default

it's kind of hard trying to diagnose your problem without seeing the code. IE is the nightmare of most web developers as it's standards compliance isn't all that great.
__________________
Stefan, the Post Master

Track Devil - May the boost be with you!
zkiller is offline   Reply With Quote
Old 10-13-2007, 12:07 AM   #4 (permalink)
New Member
 
Join Date: Oct 2007
Location: Miami, FL
Posts: 4
Default Possible solution

Well someone recommended that I design for Firefox and then create a separate CSS style sheet for IE. He said I could google to find instructions.
thewzard is offline   Reply With Quote
Old 10-13-2007, 03:10 AM   #5 (permalink)
Super Noob
 
zkiller's Avatar
 
Join Date: Aug 2004
Location: position:relative
Posts: 1,560
Send a message via AIM to zkiller Send a message via Yahoo to zkiller
Default

that would work.
__________________
Stefan, the Post Master

Track Devil - May the boost be with you!
zkiller is offline   Reply With Quote
Old 10-15-2007, 06:35 PM   #6 (permalink)
New Member
 
Join Date: Oct 2007
Location: Miami, FL
Posts: 4
Default Bah

I hate web design =/

So I read this article and I try to do as it says but now in IE7 I break my design when fixing it in IE 6.

http://www.thesitewizard.com/css/excludecss.shtml

This is the code I have
----------------- Begin Code ---------------------
<link href="../styles/style.css" rel="stylesheet" type="text/css" />
<link href="../styles/print-2col.css" rel="stylesheet" type="text/css" media="print" />


<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="styles/ie6style.css" />
<! [endif] -->

<link href="../styles/iestyle.css" rel="stylesheet" type="text/css" />

</head>
----------------- End Code -----------------------

I'm confused and to be honest I'm about to give up =/
thewzard is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 03:49 AM.


Computer Forum - Internet Business - Webpage Design

 
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.