3 replies [Last post]
mollymowler
Offline
newbie
Cambridge, UK
Last seen: 14 years 31 weeks ago
Cambridge, UK
Joined: 2008-04-23
Posts: 2
Points: 0

Sorry, didn't put the code in properly to show it. Repost...

Hi from a newbie...
I have a commercial website template and I notice they use a lot of 'quickie' in-line css instead of a style sheet...not good practise I understand!

One thing they use is a line break style. The code looks like this:


When I try using this in DW8, it doesn't seem to work. Regardless of what measure you put in, the line height stays the same, even if you use a ridiculous number like 250px. If you take out the first
, then of course, there isn't even a gap after the first line.

Is this a fault in DW8, a deprecated code or what?

Many thanks in advance
James

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 10 years 10 weeks ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

DW8 isn't a browser. Who

DW8 isn't a browser. Who really cares how it displays stuff in design view? Always use a real browser for testing.

mollymowler
Offline
newbie
Cambridge, UK
Last seen: 14 years 31 weeks ago
Cambridge, UK
Joined: 2008-04-23
Posts: 2
Points: 0

Re: DW8 isn't a browser

I know DW8 isn't a browswer. What I meant was that I use this particular program to create my websites in. The code I mentioned doesn't display properly in IE7, FF or NN, when created in DW. I only wanted to know if the code was no longer valid, or whether it was a bug in DW.

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 8 years 39 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

well the line height should

well the line height should be line-height (note the hyphen). But what are you trying to accomplish? There's rarely a good reason to use <br> and less reason to use inline styling.