View Full Version : <div> and [target="_blank"]


Bebe x Baby Luv
07-15-2003, 07:41 PM
hard to explain, so bare with me...

---------------------

http://shifty.dissendium.net

there you c my <div> tag is only placing my content there. But in most sites they have a closing tag...so instead of the words just goin on and on they have a limit of space to after the words have the <br> tag...

understand? -- look at this then

| dksljfalskjgdls;jgdlgjdfljgsdljgsd;ljgldskgjlLKSas dsdfsdaf
| flkas;jdflksjdflkjgdfskdhfaskjghfsakjfhsakhfska
| asdfkjsadljfsdlkjfskDjflskdjflskdjflksjdflksdjfasd dfsdfsdfa
| asdflkjsdlfkjsaldjfsKdfjlksjflskdjflksjdfkasDkasss dfsd

^ up there its really messy....but down here

| dksljfalskjgdls;jgdlgjdfljgsdljgsd;ljgldskgjlLKS |
| flkas;jdflksjdflkjgdfskdhfaskjghfsakjfhsakhfsk |
| asdfkjsadljfsdlkjfskDjflskdjflskdjflksjdflksdjfas |
| asdflkjsdlfkjsaldjfsKdfjlksjflskdjflksjdfkasDkas |

so basically i'm looking for a <div> that can be more of a box then a "line up" thing...if U catch my drift. That wasnt exactly easy to explain....

-----------------------

alright and about the [target="_blank"] part....

is there any way you can just put a simple code and that would make all your links open in a new window. Much easier then putting [target="_blank"] after ever link....

-----------------------


thanks - sami

MaGiCSuN
07-15-2003, 07:53 PM
ok here we go :)

</body>
</html>

should belong at the very end of the page

You got an extra } before the A{} starts in your css coding. You also don't need to add --> after each css part. Only at the very end of the whole style codes part right before </style>

for the text add into your body {} css coding the following:

text-align: justify;

if this doesn't work then add style="text-align: justify" to the <div> tag.

for making ALL the links open into target="_blank" you could try to add this to your <head> section:

<base target="_blank">

this only works when you take out the target="_blank" from the link itself.

Love,
mirna

Bebe x Baby Luv
07-19-2003, 08:54 PM
Thank You Mirna!~u've never been wrong yet