Jump to content

newb css question


newb

Recommended Posts

Simplistically, by learning CSS.  Avoid absolute and relative positionning like the plague - all they do is make life more complex than needed, and fill up your code with opportunities for the pages to 'break' in other browsers.
Link to comment
Share on other sites

ok avoid absolute and relative positioning, got it. so what kind of posintiong do i use? and what do u mean learn css? that not helping,  ok, u have designed webpage in Illustrator or Photoshop, but how do u make css/xhtml webpage of it? If I use tables it is easy - just slice it in Photohop or Imageready and you get almost finished website. it generates the code and stuf for you.
Link to comment
Share on other sites

You need to slice up your layout in photoshop/imageready first. Note when you slice make sure the slices you want are the ones being exported, and not the ones that PS/IR put in automatically when you slice. And only export the images. Dont export the html and the images, as the html/css that PS/I generate is not good. 

To position in CSS without absolute and relative positioning use float and clear. Floats are the best and easiest way to position elements on your webpage. Most CSS layouts are done with floats. You use [i]clear: both[/i] to stop elements from going underneath a floated object.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.