May 25, 2013, 07:07:24 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Prowlie Welcome back! The site migration is complete and normal service resumed.
Advanced search
Pages: [1]   Go Down
Print
Author Topic: Website blues :(  (Read 1425 times)
0 Members and 1 Guest are viewing this topic.
CLiNK
MotM
Veteran
**
Offline Offline

Posts: 1432



« on: September 26, 2008, 10:55:49 AM »

Okay, so I've been working on a portfolio website recently and I've run into a little....problem. I'm sure we have some talented web designers here that might be able to help me out.


So here's the problem. I've begun creating using Dreamweaver as I don't know anything past some basic HTML. So I have my neat roll-over menu under way but I wanted small gaps between each menu item purely for aesthetic reasons. However, when previewing in Firefox and IE I receive two slightly different products.





As you can see, the IE version creates a larger gap between the two menu items Home and Illustration which kinda ruins the harmony of the navigation bar - not something I want on a website that is supposedly displaying my design talents. I can post up the code for this page so far if anyone needs to see but I'm just wondering if this a common problem or some freak code catastrophe due to my noob skillz.

Cheers.


« Last Edit: September 26, 2008, 03:53:07 PM by CLiNK » Logged

<a href="http://img.photobucket.com/albums/v661/Vector88/motm.swf?vTitle=january%2007.swf" target="_blank">http://img.photobucket.com/albums/v661/Vector88/motm.swf?vTitle=january%2007.swf</a><a href="http://www.humbleego.com/iaward/iaward_1.swf" target="_blank">http://www.humbleego.com/iaward/iaward_1.swf</a>
chluaid
Bitey's Daddy
Administrator
Heroic
*****
Offline Offline

Gender: Male
Posts: 5379


ldf l srff r drlt sdtr


WWW
« Reply #1 on: September 28, 2008, 04:03:57 PM »

Excuse me while I take a wild stab in the dark: what if you add a spacer image between them? Theoretically that should lock the gap size to whatever dimensions you make the spacer, i.e. 1px width, 2px, etc.. regardless of browser. I could be wrong but that's near the limit of my Dreamweaver & HTML knowledge too.

(nice looking page btw!)
Logged

<a href="http://bitey.com/images/dashkin/728_animated1.swf" target="_blank">http://bitey.com/images/dashkin/728_animated1.swf</a>
Jaehl
Mobal Gloderator
Global Moderator
Veteran
***
Offline Offline

Gender: Male
Posts: 1418


/* No comment */


WWW
« Reply #2 on: September 29, 2008, 08:47:21 AM »

Theory 2:

If all of those buttons are divs, and are put in place using "float: left" and "margin-left: 1px", or something similar, then you've discovered the wonderful double-margin IE bug. All you've got to do is put "display: inline" on the first floated button (the illustration one, I'm guessing) to fix the problem.
Logged


<a href="http://i17.photobucket.com/albums/b90/Jaehll/Actionscript_Banner.swf" target="_blank">http://i17.photobucket.com/albums/b90/Jaehll/Actionscript_Banner.swf</a><a href="http://img.photobucket.com/albums/v661/Vector88/motm.swf?vTitle=oct%2Fnov%2007.swf" target="_blank">http://img.photobucket.com/albums/v661/Vector88/motm.swf?vTitle=oct%2Fnov%2007.swf</a>
Sarus translator:
<a href="http://www.jaehl.com/files/progress.swf" target="_blank">http://www.jaehl.com/files/progress.swf</a>
CLiNK
MotM
Veteran
**
Offline Offline

Posts: 1432



« Reply #3 on: September 29, 2008, 01:42:26 PM »

Cheers guys, I'll look into these.

edit: You're not going to believe it...one of my table cells was simply 1 pixel too big *slaps forehead*
Strange that firefox displayed it differently still.
New previews see it consistent in both browsers now so I'm happy. Thanks anyway chaps.
« Last Edit: September 29, 2008, 02:01:31 PM by CLiNK » Logged

<a href="http://img.photobucket.com/albums/v661/Vector88/motm.swf?vTitle=january%2007.swf" target="_blank">http://img.photobucket.com/albums/v661/Vector88/motm.swf?vTitle=january%2007.swf</a><a href="http://www.humbleego.com/iaward/iaward_1.swf" target="_blank">http://www.humbleego.com/iaward/iaward_1.swf</a>
Cel
Senior Member
****
Offline Offline

Gender: Male
Posts: 967


« Reply #4 on: October 02, 2008, 01:54:08 AM »

Nah. FF is W3C standard. It's IEs fault. Wink
Logged

My DeviantArt

<a href="http://img.photobucket.com/albums/v661/Vector88/sfx_3.swf" target="_blank">http://img.photobucket.com/albums/v661/Vector88/sfx_3.swf</a><a href="http://img.photobucket.com/albums/v697/Espengenin/banner1star-1.swf" target="_blank">http://img.photobucket.com/albums/v697/Espengenin/banner1star-1.swf</a>
Brackenwood
   

 Logged
Pages: [1]   Go Up
Print
Jump to:  

Theme by Pieter, based on Black Rain by Crip Powered by SMF 1.1.16 | SMF © 2011, Simple Machines XHTML | CSS

Page created in 0.088 seconds with 26 queries.