HTML and js look fine. I would guess the solution lies in CSS.
Airshow
Airshow
WiFi Lounge Lizard
2,682 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372
The div probably has a css float directive. If so, try removing it.
Airshow
WiFi Lounge Lizard
2,682 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372
No. View source shows the originally served HTML. It does not reflect changes made to the DOM's (ie the page's) structure or content thereafter.
To see the current state of the page, use Firefox's Firefly or Opera's Dragonfly. I think MS offer something similar for IE.
Airshow
Airshow
WiFi Lounge Lizard
2,682 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372
For FireFox, I should have said "Firebug". "Firefly" also exists but it's file manager plugin.
There's a " Firebug Lite " for use with Chrome.
Airshow
Airshow
WiFi Lounge Lizard
2,682 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372
I'm sure it will be something simple. I think it's got to be CSS because the natural rendering of the HTML would be to put the (block element) under and (inline elements).
CSS is the only thing that will change this default rendering to give a side-by-side layout.
Try suppressing CSS completely to see the whole page with default rendering. Where does the now sit in relation to the and ?
Airshow
WiFi Lounge Lizard
2,682 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372
Congratulations Simply. It's satisfying when everything all falls into place. I know the feeling.
Airshow
Airshow
WiFi Lounge Lizard
2,682 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372