Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strict XHTML Transitional 1.01 Line Break?

Status
Not open for further replies.

Jonnn

Programmer
Nov 17, 2004
135
GB
How do you break a line.

I usually use

" <br/> "

but now this is not aloud when using this strict DTD.

Any help much appreciated,

Thanks!

Jon

JavaScript Beginner at work :)
 

I'd wrap the content in a <span> and then use CSS to force it. Assuming you have access to modify the HTML of course.

Jeff

 

Jon,

Are you sure you're using the correct DTD? As Foamcow says, it should work just fine.

Can you post the code that isn't validating for you?

Dan



[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
it wasnt working yesterday, today is a different day.

Sorry for my stupidity

JavaScript Beginner at work :)
 

Can you post the solution, in case anyone else is having the same problem?

Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top