[CSS/HTML/jQuery] Make Background Image Fit All Screens

Status
Not open for further replies.

Tronscript

Member
Aug 18, 2012
93
8
Well, just look for yourself. This is a website I've been developing and this background shiz is getting me mad.
 

Markshall

Русский Стандарт
Contributor
Dec 18, 2010
2,639
2,397
Pretty cool, but it would be better if you provided the actual code, new coders might not know what to take.

Also, the placement on that website is horrible, why is it all pushed to the right hand side with more space on the right hand side?
 

Li1M0ST3Rz

I <3 Bianca
Sep 13, 2010
269
166
oh ok try this ehh:
CSS:

HTML:
.left, .right {
  width: 50%; /* Floated elements technically need a width specified. */
}
 
.left {
  float: left;
}
 
.right {
  float: right;
}
Html:
HTML:
<div class="left">left</div>
 
Status
Not open for further replies.

Users who are viewing this thread

Top