logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Spry
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 01-17-2011, 03:36 PM   #1
gore.m
 
Join Date: Mar 2010
Posts: 53
Default Not long enough...

Hi,

I have one problem on our site ( www.adelajizvecerela.cz ). I inserted SPY into DIV, page has width 940px and I have 9 horizontal menu items (and vertical items).
I have set horizontal menu item width to 104.4, so it is 939.6px in sum. It is ok in FF and IE (I dont know why ) menu is extended, but in Chrome it looks like this:

Any idea?
thanks you very much
gore.m is offline   Reply With Quote
Old 01-17-2011, 06:43 PM   #2
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

You cannot split a pixel. The pixel is the smallest unit on the screen.
domedia is offline   Reply With Quote
Old 01-17-2011, 07:39 PM   #3
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Basically different browsers handle the partial pixel problem differently. Some rounding the number up and some rounding it down.
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 01-18-2011, 07:55 AM   #4
gore.m
 
Join Date: Mar 2010
Posts: 53
Default

Quote:
Originally Posted by DWcourse View Post
Basically different browsers handle the partial pixel problem differently. Some rounding the number up and some rounding it down.
thanks you,
How can I do that? I have tried that but it doesnt work. (I have tried add new css rule to one of menu item, but it didnt affect anything)

thanks you
gore.m is offline   Reply With Quote
Old 01-18-2011, 02:53 PM   #5
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

If the width of your page is measured in pixels you can give your menu items a pixel width and then create a custom rule for one menu item to adjust the menu to fit the page.
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 01-20-2011, 11:26 AM   #6
gore.m
 
Join Date: Mar 2010
Posts: 53
Default

UF, I cant get it work I created custom rule for one menu item (Im afraid by bad way), so menu fit the page, but vertical menu items get same width as new custom rule - now they are overlapping horizontal items (it is online www.adelajizvecerela.cz ).

Im afraid I dont know how create custom rule for one menu item properly. Can you help me? Thanks you
gore.m is offline   Reply With Quote
Old 01-20-2011, 02:08 PM   #7
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Try this: Highlight the Current Page in a Menu with CSS
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 01-24-2011, 08:58 AM   #8
gore.m
 
Join Date: Mar 2010
Posts: 53
Default

Thanks you
gore.m 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

Forum Jump


All times are GMT. The time now is 12:36 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com