11 replies [Last post]
derryos
Offline
newbie
Last seen: 17 years 35 weeks ago
Joined: 2004-09-23
Posts: 2
Points: 0

Hi all,
I'm having issues with rewriting html content - i rewrite a div which on initial loading uses a style file but after rewriting the style file is not used and the text formatting goes wrong. Anyway that i can force the div to take into account the style file on rewrite?

Cheers in advance,

Derry

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 8 years 43 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

Re: CSS +DHTML issues

derryos wrote:
I'm having issues with rewriting html content - i rewrite a div which on initial loading uses a style file but after rewriting the style file is not used and the text formatting goes wrong. Anyway that i can force the div to take into account the style file on rewrite?

I don't understand what you're asking, but you can write CSS styling directly into the div tag thus: <div style="float: left;">blar blar</div>.

Life's a b*tch and then you die!

co2
co2's picture
Offline
Leader
UK
Last seen: 14 years 6 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

Re: CSS +DHTML issues

roytheboy wrote:
...blar blar

That's a posh blah blah! (Southerners! Wink )

Any chance of the code or a link derryos?

The next sentence is true. The previous sentence is false. Discuss...

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 8 years 43 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

Re: CSS +DHTML issues

co2 wrote:
That's a posh blah blah!

Nope - that's a dyslexic blah blah Smile - seriously.

Life's a b*tch and then you die!

co2
co2's picture
Offline
Leader
UK
Last seen: 14 years 6 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

CSS +DHTML issues

Darn, you played the empathy card on me! :oops: Tongue

The next sentence is true. The previous sentence is false. Discuss...

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 8 years 43 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

CSS +DHTML issues

co2 wrote:
Darn, you played the empathy card on me! :oops: Tongue

Yep, I can tell you where and when to use words; what they mean; I can remember the formula for inductive capacitance in a tunned circuit; I can hand code thousands of lines of php; but you should see this post before I ran it through the spell checker Laughing out loud

But, as I say to my CMS system customers: "Cheque yaw spelling and don't expect yaw pea sea spell chequer two marque every mist ache four ewe as according too my soft where, this paragraph is write!"

Life's a b*tch and then you die!

co2
co2's picture
Offline
Leader
UK
Last seen: 14 years 6 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

CSS +DHTML issues

roytheboy wrote:
But, as I say to my CMS system customers: "Cheque yaw spelling and don't expect yaw pea sea spell chequer two marque every mist ache four ewe as according too my soft where, this paragraph is write!"

Class! Laughing out loud Shock

My friend's currently studying his Media Studies degree (2nd year). Just found out he's classed as dyslexic as well... will get a brand spanking new G5 and extras. May pay him a visit and help him set it up (may take a couple of days! Tongue Wink )

The next sentence is true. The previous sentence is false. Discuss...

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 8 years 43 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

CSS +DHTML issues

And while we wait for derryos to respond...

I'm in my forties and dyslexia was not recognised when I was at school. I got marked down in every exam for every subject due to bad spelling. It was a bl**dy crime I can tell you Evil. I take it that dyslexics get extra support and goodies nowadays then (?)

Life's a b*tch and then you die!

co2
co2's picture
Offline
Leader
UK
Last seen: 14 years 6 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

CSS +DHTML issues

Well, my friend who is in his mid-thirties, as mentioned, only found out recently. Although a seemingly very clever guy, his spelling and mathematics were lacking since his school days.

The suggestions and help he's received in college have been fantastic, and has added the confidence he should have had 20 years ago.

Yes, seems as though very good support is offered these days to those found out to have it... unfortunately, the red tape is always there.

Where's that derryos! :roll:

The next sentence is true. The previous sentence is false. Discuss...

derryos
Offline
newbie
Last seen: 17 years 35 weeks ago
Joined: 2004-09-23
Posts: 2
Points: 0

Fixed

Tis ok - managed to sort it out - i had specific css tags e.g

h5 ul{
etc
}

and the dhtml was messing up the structure and hence the resulting cs output. Ta for the help.

Derry

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 8 years 43 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

CSS +DHTML issues

No: I still don't understand what your problem was, but if it's okay now then that's all that matters Smile

Life's a b*tch and then you die!

co2
co2's picture
Offline
Leader
UK
Last seen: 14 years 6 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

CSS +DHTML issues

Anyway, welcome to the forum derryos, and sorry for hijacking your thread! O:)

The next sentence is true. The previous sentence is false. Discuss...