News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Weather app?

Started by mrpike, July 11, 2011, 09:13:05 PM

Previous topic - Next topic

Sir Osis of Liver

#20

Ok, go here, what do you see?


You are using position: absolute; top: 242px; left: 850px.  It's supposed to be left: 580px.  If I use 850, looks the same on my board as in my screenshots of your site - too far right and wrapped.  No idea why your banner doesn't line up with the right side of your board, can't duplicate that, but sometimes an incorrect css parameter can affect other parts of a page.  Try 580px, and see what it looks like.  You can also use left: 58%, puts it just a couple of px further right.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

mrpike


Sir Osis of Liver


Kind of what I expected.  No idea why your browser is doing that.  Can you view it in a different browser?

Attach your index.template.php.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

mrpike

I'll just adjust it to what you think it needs to be (I don't care how it looks for me only for the visitors).

Sir Osis of Liver


I'd be more comfortable with that if a few other folks could take a look and let us know which version they see.  Try it with left: 58%

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

mrpike

lol, I think it's just you and me bud.

Sir Osis of Liver


Try the percentage.  I'll have access to another computer Monday, will try to remember to take a look at your board from there.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

mrpike

Alright I tried the percentage, it's way far over on the left on my screen, but as long as its ok for everyone else that isn't a problem.

Sir Osis of Liver


You did it wrong.  It's not left: 58%.;">; should be left: 58%;">.  The stray period is buggering it up.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

mrpike


Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

mrpike


Sir Osis of Liver


That is so wierd - it's in between now.  The big advantage of css is it displays consistently across different browsers, but for some reason, not yours.  You may be able to get your banner to line up with the right side of the forum if you add width="100%" inside the image tags.



<a href="http://www.hooksandfins.com/forum/index.php"><img src="http://i54.tinypic.com/k9xcn7.jpg" alt="Hooks and Fins" title="Hooks and Fins" width="100%" /></a>

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

mrpike

It's ok that it's not spot on in my browser as long as it is in other peoples browsers.

rolltidega

Is it possible to prepopulate the search field with a Zip Code?  That way it defaults to what I want it to be but could be changed to something else?

Sir Osis of Liver

You should start a new thread, not bump one this old.

Yes, you can change the default value here:



<input type="text" name="inputstring" size="21" value=" City,ST or zip code"  onfocus="this.value = \' \';" onblur="if(this.value==\' \') this.value=\' City,ST or zip code\';" style="font-size: 10px; vertical-align: middle; margin-top: 0px;" class="textarea">



value=" City,ST or zip code" can be changed to value="111111" to display your default zip.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Advertisement: