SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
Thread: Extra line break when floating
-
Oct 6, 2006, 02:43 #1
- Join Date
- Nov 2005
- Location
- California
- Posts
- 78
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Extra line break when floating
HTML Code:<div><input> <div style="float:right">Blah</div></div>
I'm getting that itch to switch back to tables.. I mean it has its advantages too..like I get to finish my site with some hair left and getting some actual sleep!!
Anyhow...yea if anyone knows why?...Please lend this CSS newbie a helping hand.
Thanks
(I'm on Firefox:Ubuntu btw incase its a browser/OS thing)
-
Oct 6, 2006, 09:13 #2
- Join Date
- May 2006
- Location
- Aurora, Illinois
- Posts
- 15,476
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I'd also like to take a look at the full HTML and CSS source code, if possible. Something just doesn't look right here, at least from where I'm at.
Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
-
Oct 6, 2006, 10:43 #3
- Join Date
- Aug 2006
- Location
- Cheshire, UK
- Posts
- 96
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by Jaffizzle
Code:<td valign="middle">
-
Oct 6, 2006, 10:46 #4
- Join Date
- Nov 2005
- Location
- California
- Posts
- 78
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks for the replies, but I got it working by putting a div around the <input> and floating it left.
And that is the actual code, maybe its browser specific.
-
Oct 6, 2006, 11:15 #5
- Join Date
- May 2006
- Location
- Aurora, Illinois
- Posts
- 15,476
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I meant, "I'd like to see the complete Web page, if possible."
I've seen some very weird things happen with browsers rendering HTML and CSS code.
For example, I recently had a problem with a menu I was working on for a client's site. Internet Explorer would not let me click on the links. In fact, it wouldn't even acknowledge that the links were there (despite rendering teh text, background colors and everything else I was using). Every other browser handled it perfectly; the code was 100% valid, semantic, structured and well-formed (and warning-free as far as the CSS goes), but Internet Explorer refused to cooperate.
Turned out it was a depth-sorting error that was easily fixed by adding position: relative; and z-index: 1; to the style rule for that particular menu.Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
-
Oct 6, 2006, 11:42 #6
- Join Date
- Aug 2006
- Location
- Cheshire, UK
- Posts
- 96
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
We all love Microsoft
Bookmarks