css and div

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
thesilbi
Posts: 14
Joined: Mon 23. Feb 2004, 21:32

css and div

Post by thesilbi »

Hi again,

When I want to use "CSS DIV" for my layout, all my blocks are the ones other the others : no more position or well sized block.

Any idea ? 8)
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

do you speak german?
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

babelfish does :D
http://www.studmed.dk Portal for doctors and medical students in Denmark
thesilbi
Posts: 14
Joined: Mon 23. Feb 2004, 21:32

Post by thesilbi »

No, I don't speak german.
sorry :cry:
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

i didn't get the sense of your posting... can you make a screenshot... regards, jan
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

a little clarity...

Post by ionrock »

I think if you are asking how you can take over the layout completely using css you can make your own style sheet and upload it to the ./phpwcms_template/inc_css/ folder and then you can choose it from the template page. This way you can design your site how ever you wish and just have {CONTENT} in the div or span where you want your article data to show up. I hope this helps

:D
thesilbi
Posts: 14
Joined: Mon 23. Feb 2004, 21:32

Post by thesilbi »

My error is simple : the header block used all the width, then, (and just below) the "left" colum. It's used also all the width, and then again with the main block, .......

Did I need to use a css stylesheet to set the position and the size of all the blocks ? The admin page doesn't do it itself ?

Thanks 8)
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Post by ionrock »

I think if you use the position with css selection in the page layout section you have to edit the default style sheet or attach your own with your changes. I do not think you can do it in the pagelayout admin area since it will not edit the css files. You can look at the index page to get the block ids (vew source ;) ) and just add/edit the css file. The default doesn't have any formatting for the main block and such so you can add it yourself if you want to change it or add a new stylesheet as I said in an earlier post. Let me know if this answers your question.
thesilbi
Posts: 14
Joined: Mon 23. Feb 2004, 21:32

Post by thesilbi »

Ok ! I'll edit it.
tks a lot 8)
AppleCider
Posts: 6
Joined: Mon 1. Mar 2004, 02:09

Post by AppleCider »

Great! Glad to see this can be done. I prefer css/div layouts to HTML tables. I'm at the "looking things over" stage as far as phpwcms is concerned, and that was one of my concerns.
WARNING: I cannot be held responsible for the above, as apparently my cats have learned how to type.
Post Reply