TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

Making a website in PS for 100% width

Page: 1 Reply
Oct 26th 2003#126366 Report
Member since: Feb 26th 2003
Posts: 7
Say you have a design all ready for slicing in Photoshop. How do you make it so that instead of just being a block in the middle of the page it can stretch to 100% of the window's width? For example, the header on http://www.mediatemple.net/.
Reply with Quote Reply
Oct 26th 2003#126369 Report
Member since: Mar 18th 2001
Posts: 1452
That black/grey bg is partly the menu, the rest is one small repeated image that covers an entire column. Say you make the black/grey image, at 40px tall, 1 or 2px wide.

You create your table:

[php]


menu goes here
[/php]

A background set to a td tag will repeat itself for as big as the column is. So it "fills" all that extra space that would normally be there. If any of that made sense.


edit: of course it's not PHP, this silly software still seems to parse code within code tags...kinda defeats the purpose.
Reply with Quote Reply
Oct 26th 2003#126383 Report
Member since: Oct 16th 2003
Posts: 717
i usually just open the html page exported from photoshop, copy that table and paste it into another table that has 100% for width with a little background strip that repeats.
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum