Discussion Forums  >  Uncategorized

Replies: 9    Views: 380

AlexClarke
Aspiring developer
Profile
Posts: 26
Reg: May 30, 2011
Ipswich
260
06/09/11 01:03 PM (14 years ago)

Custom HTML not centering

I have made a CSS Gallery, looks good and functions right but it just doesn't seem to scale to the screen, it's always just to the right so is there some code I'm missing?
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
06/09/11 01:28 PM (14 years ago)
Possibly. Or there could be something extra that shouldn't be there. Can you share any more information?
 
AlexClarke
Aspiring developer
Profile
Posts: 26
Reg: May 30, 2011
Ipswich
260
like
06/09/11 01:32 PM (14 years ago)
Well if I want the entire background the background colour the gallery doesn't fit without scrolling, but if I take off some pixels of the gallery to make it fit without scrolling I end up with a white line down the right hand side..
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
06/09/11 03:43 PM (14 years ago)
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
06/09/11 03:46 PM (14 years ago)
Also check this out if you get a chance: http://www.w3schools.com/CSS/css_image_gallery.asp
 
AlexClarke
Aspiring developer
Profile
Posts: 26
Reg: May 30, 2011
Ipswich
260
like
06/09/11 04:16 PM (14 years ago)
Excellent, thanks
 
AlexClarke
Aspiring developer
Profile
Posts: 26
Reg: May 30, 2011
Ipswich
260
like
06/09/11 05:35 PM (14 years ago)
Hmm, sort of worked.. Still allows me to scroll, I need it fixed
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/10/11 06:05 PM (14 years ago)
This is for sure a CSS issue and they can get tricky. I'd be happy to have a look if you send the HTML file and the CSS (if it's a different file) to info 'at' buzztouch.com Be sure to include your name and the app name in the message.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/13/11 04:14 AM (14 years ago)
@ AlexClarke: Check your email
 
AlexClarke
Aspiring developer
Profile
Posts: 26
Reg: May 30, 2011
Ipswich
260
like
06/13/11 05:11 AM (14 years ago)
Thanks, I have replied.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.