- This topic is empty.
-
AuthorPosts
-
May 11, 2012 at 5:52 pm #38032
corralestito
MemberI’m coding a website in CSS3 and I’m having troubles making the background of a header fill the whole width of the browser.
Does anyone have any idea why is this happening?
Thanks in advance.
May 11, 2012 at 6:01 pm #102736matthewfowles
Memberwithout seeing your code its hard! Is there a page wrap or something stopping it and how have you set the width?
May 11, 2012 at 6:03 pm #102737TheDoc
MemberAre you using this:
body {
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}May 11, 2012 at 6:17 pm #102738corralestito
MemberThis is what I’m using for the header:
header
{
background: url("../images/interface/header-motif-bottom.png") repeat-x bottom,
url("../images/interface/header-bgr-shadow.png") repeat-x,
url("../images/interface/header-bgr-glow.png") no-repeat top center,
url("../images/interface/header-bgr-pattern.png"),
url("../images/interface/header-bgr-stripes.png"),
#6B161B;
}
I have several background images in order for it to work how I want.
You can see the full code here
May 11, 2012 at 7:07 pm #102739matthewfowles
MemberWhat your picture shows isn’t happening to me when i follow the link. I’m using the latest version of chrome. Which browsers are you using?
May 11, 2012 at 7:35 pm #102740corralestito
MemberI’m using the latest version of Chrome for Mac. On computers (Mac or Pc) the website looks just fine except for when I use the Chrome extention to resize the window.
I’ve noticed that the problem also occurs on mobile devices (iPhone, iPad, Android).
I thought this problem was more common.
May 13, 2012 at 11:47 am #102764ylc66
Participanti have no problem here, it looks Ok . MacBook Pro :
. Chrome 19.0.1084.46 beta > OK
. Chrome 18.0.1025.168 (Standard) > OKThe only thing i can see is about your flags. Compared to Firefox : on Chrome (whatever version it is) the second one is under the english one.
May 13, 2012 at 2:31 pm #102766JadH
MemberHello
Same here, no problem. IE9 on PC and Chrome on PC and macbook pro, both latest versions.I noticed the eventos-especiales.php page is opening wrong on all of them (sidebar is under the content). You might not be done with it though :)
May 15, 2012 at 4:17 pm #102859corralestito
MemberThanks for the feedback guys but have any of you tried to open the website on a mobile device? iphone, iPad or Android?
The design looks awful on those :(May 23, 2012 at 6:12 pm #103362corralestito
MemberI’ve solved it myself, thanks for the collaboration.
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.