This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes It's about div tag Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "It Watch "It New topic
Author

It's about div tag

Mahadevi Joshi
Greenhorn

Joined: May 30, 2004
Posts: 2
I want div tag contents and the lable after that div tag on the same line but I am not getting that
Can anybody help me regarding this
[ May 30, 2004: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50679

That's the default behavior of the div. If that's not what you want, why are you using a div?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
use span
 
 
subject: It's about div tag
 
Threads others viewed
Positioning DIVs
DIV TAG
DOM - remove text question
Icefaces error messages
Div Tag Width Changing si Undesireable
IntelliJ Java IDE