Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
dwebber #1
CSS - nav button dropping to next line
My nav buttons all float left with 20px space between them (buttons are 100px
wide). My last button is falling off to the next line even though it seems
there is plenty of room. My menu is set for 759px and so I should have 59px
left over of extra space.
Any ideas?
[url]www.acswebdev.net[/url]
[url]www.acswebdev.net/styles/hatranchstyles.css[/url]
thanks!
Denise
dwebber Guest
-
Contribute not dropping old URL
Hey all, I am having an issue with Contribute CS3 that i have been unable to solve. It should be a simple fix but in this case it does not seem... -
dropping the suffix
Hi: Can someone tell me how I can get my website to assume a .html suffix so that browsers don't have to add the suffix all the time? ie: instead... -
Append a text line by pressing a submit button
Hi, I made a small text field form, now I want to append the name of the text to a new line by pressing a submit button. The form action =... -
dropping sprites into a bag
I'm trying to write lingo to make a sprite disappear once it's dropped onto another sprite. So, I have a sprite that's moveable and I want the... -
Editing the text of a 2 line button symbol.
On 8/26/2003 8:24 AM, Bruce Kieffer wrote: I haven't found a way to do it. That's a good one for the Fireworks wish list. ... -
alanmarchman #2
Re: CSS - nav button dropping to next line
Since you are containing each navigation button in a div named #menu and then
floating each of the buttons to the left makes it unnecessary to add the left
declaration to the rule.
The float makes them line up side by side, and if you need space between them
simply add a margin-left declaration to each button to push them apart.
The only other thing you might think of is accessibility. If someone browses
to this site and they can't see the images then how are they going to navigate
it? Add alt attributes to your images to label them for screen readers.
One last thing, are you truly writing XHTML? Your DOCTYPE says yes but your
code says no. I don't know what version of DW your using, but if you have the
option look under the File menu for the Convert option and convert your page to
XHTML. If you're using DW8 then choose the same flavor as your DOCTYPE
declares, which is XHTML 1.0 Transitional.
alanmarchman Guest
-
dwebber #3
Re: CSS - nav button dropping to next line
[q]Originally posted by: alanmarchman
One last thing, are you truly writing XHTML? Your DOCTYPE says yes but your
code says no. I don't know what version of DW your using, but if you have the
option look under the File menu for the Convert option and convert your page to
XHTML. If you're using DW8 then choose the same flavor as your DOCTYPE
declares, which is XHTML 1.0 Transitional.[/q]
I'm using Dreamweaver MX. I looked under File>Convert and the XHTML was greyed
out. What specifically is it about my code that tells you I'm not truly XHTML?
I chose the check box "make document XHTML compliant" when I created it.
I also found out that I had two divs by the same name (#contact), oops. So I
changed the names and now everything is flowing nicely...well except in IE6.
dwebber Guest



Reply With Quote

