Title: php/css help needed&#8230;
Last modified: August 18, 2016

---

# php/css help needed…

 *  Resolved [idowens](https://wordpress.org/support/users/idowens/)
 * (@idowens)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/phpcss-help-needed/)
 * In my photo gallery at [http://www.idowens.com/photo-gallery/](http://www.idowens.com/photo-gallery/)
   the initial album view is in a single line down the left margin but if you enter
   a gallery the thumbnails are spread across the entire content column. I am trying
   to have the initial album view spread atleast two across but changing .flickr-
   album in my CSS changed not only the main album view but the individual albums
   as well…I was thinking about something like
    `<?php if ($thisPage=="http://www.
   idowens.com/photo-gallery/") { echo "<style type=\"text/css\"> .flickr-album {
   float: left; width: 180px; text-align: left; } </style>"; } ?> but i can’t seem
   to get that to work for me. Any help would be appreciated 😉

Viewing 1 replies (of 1 total)

 *  [Lorelle](https://wordpress.org/support/users/lorelle/)
 * (@lorelle)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/phpcss-help-needed/#post-150583)
 * I’ve had a terrible time getting “unique” style code and sheets onto specific
   pages unless it is coded within the content, such as
 * `<div style="float:left; width:180px; text-align:left">blah blah</div>`
 * Pain in the buns to put it on every div or span, but it does work….until someone
   comes up with a better answer.

Viewing 1 replies (of 1 total)

The topic ‘php/css help needed…’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Lorelle](https://wordpress.org/support/users/lorelle/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/phpcss-help-needed/#post-150583)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
