newb Posted August 29, 2006 Share Posted August 29, 2006 how do you start converting ur photoshop layout to css. Quote Link to comment Share on other sites More sharing options...
AndyB Posted August 29, 2006 Share Posted August 29, 2006 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. Quote Link to comment Share on other sites More sharing options...
newb Posted August 29, 2006 Author Share Posted August 29, 2006 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. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 29, 2006 Share Posted August 29, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.