Couple of Questions about Div., Borders and Text. |
![]() ![]() |
Couple of Questions about Div., Borders and Text. |
![]()
Post
#1
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 46 Joined: Feb 2004 Member No: 5,727 ![]() |
I just wanted to know how I can make my divs work properly. I mean, the div code I took from the tutorial for Divs only scrolls when the code is started with what was state "<Div Class="content" ", something like that. I just wanted to know if that's any different from a normal div and if I'd be able to contain more than one of those within my page.
As well as that, I'm just curious as to why my borders/ background colors adjustments don't work for the Div with the contents within them. And finally, [phew] Lol, how can I set individual text preferences within each div? I'd appreciate it if anyone can help, I'm new with this stuff. Although I feel rather 'guilty?' that I'm not much of a 'returning the favor' person, seeing that I'm an airhead when it comes to webdesign. |
|
|
![]()
Post
#2
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
<div class="blahhere"
Has nothing to do w/ content. It simply names your divs so if you have alot or you have coordinates in your css it can position the divs or you can tell them apart easier. You may have to add background colors to the divs. You can do so by before the "> add background-color: colorhere; border: 1px solid; border-color:colorhere; Don't feel guilty we all ask questions at one point ![]() |
|
|
![]()
Post
#3
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 46 Joined: Feb 2004 Member No: 5,727 ![]() |
One question down, you really are fast; more props!. Now text preferences...I know I can do what ever to do the text within the boxes...but is there a way to justify it? Would a css thing take care of it?
|
|
|
![]()
Post
#4
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
CSS should take care of it. For mine the css does.
|
|
|
![]() ![]() |