Jump to content
php.lv forumi

html fons


sandrulis

Recommended Posts

sitads jau bija viens posts.. (TRASH)

 

 

Dari ta :D

 

 

<div style='position:absolute;top:0px;left:0px;width:50%;height:100%;background:blue url("tava_urla_kreisajai_pusei");'></div>
<div style='position:absolute;top:0px;left:50%;width:50%;height:100%;background:red url("tava_urla_labajai_pusei");'></div>
<div style='position:fixed;background:transparent;top:0px;left:0px;'>
Tavs lapas saturs
</div>

 

kautkā sitā ne ?

 

bet principā background ir tikai viens :)

Edited by EdgarsA
Link to comment
Share on other sites

tad jau labāk paņemt bildi 2000x1px, 1000px nokrāsot vienā krāsā un otru pusi 1000px nokrāsot citā krāsā. Tad uzlikt uz body (kas ietver visu lapu) cssā background: url('2000x1.png') repeat-y center center;

Link to comment
Share on other sites

  • 2 weeks later...

hmmm.. bet kā ar pašu html tagu..? :?

es uzlieku bg gan body, gan html, abiem background-attachment:fixed; ....

firefox vis strādā kā nākas, bet IE gļuko :\ proti, IE nerāda BG image html tagam, bet krāsu rāda... katru reizi aizvien vairāk un vairāk zb tas IE :\

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...