PDA

View Full Version : CSS + HTML Help



konas
12-07-2010, 12:03 PM
Hey,
I'm kind of new to web-designing/coding, and I have been recently trying to make a website, the things I'm struggling with at the moment are:
Basically I want my content text to pad it self away from the left like so.
http://i305.photobucket.com/albums/nn202/icey360/Untitled-3.gif
and
In my footer, everytime I try adding some text, it stays to the bottom, and I want to align it to the middle like say this was my box:
________________
| |
| HERE HERE HERE|
|______________|

instead of
________________
| |
| |
|HERE HERE HERE_|
http://i305.photobucket.com/albums/nn202/icey360/1111.jpg

Thanks in advance,
Nathan

DonOmite
12-07-2010, 05:56 PM
This is why CSS is bad. Things just don't work the way you want them to. Yes, it has its uses but for beginners just stick with tables. The old tale of tables adding tons of time to loading is not true but it is a fact that CSS breaks very easily and the sites built on it tend to go all over the place while loading.

That being said (I hate that phrase lol) we need to really see your code to know what you are doing wrong.

Optic
12-15-2010, 04:47 AM
This is why CSS is bad. Things just don't work the way you want them to. Yes, it has its uses but for beginners just stick with tables. The old tale of tables adding tons of time to loading is not true but it is a fact that CSS breaks very easily and the sites built on it tend to go all over the place while loading.

That being said (I hate that phrase lol) we need to really see your code to know what you are doing wrong.

I would say the opposite of what he said is true. Tables have uses, but should not be used for layouts.

The whole point of XHTML is to separate the html from positioning and styling. With proper xhtml you can completely change your design, with very minimal changes to the html. Modern design is supposed to be flexible, and efficient. Table layouts are neither.

That being said, there are too many things that could effect it to diagnose without looking at it in firebug. If you give me a url, and I remember to check this again, I'll take a look for you.

ran_dizolph
12-17-2010, 02:22 PM
This is why CSS is bad. Things just don't work the way you want them to. Yes, it has its uses but for beginners just stick with tables. The old tale of tables adding tons of time to loading is not true but it is a fact that CSS breaks very easily and the sites built on it tend to go all over the place while loading.

That being said (I hate that phrase lol) we need to really see your code to know what you are doing wrong.

C'mon, really? REALLY?


sites built on it tend to go all over the place while loading

What is that even supposed to mean?

OP, to acheive what you're aiming for, you need to apply the padding to the parent of the paragraph, or give the paragraph a fixed width, but seeing some of your code would help us.

Rod Abbotson
12-18-2010, 02:05 AM
A good way to improve your understanding of CSS layouts is to take a complex table lay out page and then try to emulate it exactly with CSS...lots of fun!

atnguyen
12-20-2010, 02:40 AM
I think you should split into 2 parts footer, the left side you should take a picture with position: absolute

cocowoo
01-21-2011, 04:53 AM
The whole point of XHTML is to separate the html from positioning and styling

hassan
02-07-2011, 03:31 PM
Css have made our life Easier as compared to Early Life of Tabled Coding

Chieftain
02-17-2011, 07:18 AM
I am creating a Cancer Support website for my county and I want to have a place where the people who visit the site can post comments about a topic or such. How would i go about creating this? I am ecent with HTML and CSS but my skills in Javascript are lacking heavily! I need help!!