![]() |
Help
Anyone available for a quick question? I need to center a header graphic and it's got me flummoxed. Yeah I'm a newb
|
<div align="center">{image}</div> should work
|
I think this is the code that is affecting it?:
Code:
<!-- logo --> Code:
<td align="$stylevar[left]"> Code:
<td align="$stylevar[right]"> |
Simply replace the above with align="center". You can also drop the align="" altogether and replace it with style="text-align: center;" and it will work just the same :).
|
Quote:
|
Replace the align="" with either align="center" or style="text-align: center;"
|
Quote:
|
Quote:
Nope that didn't work. |
It should if you have only one <td> tag. Try replacing:
Code:
<!-- logo --> Code:
<!-- logo --> |
Ahhhh....I see, that makes sense...I'll try that and let you know...thanks!
That did it!!! Thanks a bunch guys! I love this place...support from the user community is awesome! Thanks again! :banana: |
Props to teamwork gang! :)
|
Yeah that was great...no offense to anyone but the final instructions made sense when I looked at them. Dunno what all the rigomorale was about in the header I have (custom, I'm sure something will crash later hahaha) but the changing everything to one function made sense to me. Learning as I go!
|
A lot of us learn that way too. :)
|
It's amazing how that cleaned up the look of my page...now if I could stretch it....arg...heheheh I guess that's just a matter of the graphic dimensions?
|
Yes but you can always stretch the image. If your using the <img> tag then set the width in the tag. Something like:
Code:
<img src="image_URL_here.gif/jpg" width="700px" class="img" /> Code:
img { |
Quote:
Ok but how does that work with what you told me above? Code:
<!-- logo --> Code:
<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /> |
It should be:
Code:
<img src="$stylevar[titleimage]" width="700px" border="0" alt="$vboptions[bbtitle]" /> The border="0" should not be inside the <img> tag (bad coding) but that's for another time (shame on vB). Heh. |
Ahh...again that makes sense.. :)
[Edit] Ok that works but goofs the graphic..so's I guess I redo it. Oddly it also Widened it? PS...if you are online Free...any chance of live chat? I have a TS we can use. Err..[Edit] How do I just use the graphic as is..ie it's dimensions? [Edit again] Nevermind...using the width setting along with the newly made graphic worked fine...thanks! [Re edit] Ok...hehe another one...the whole page scales with the browser...except the graphic...yikes! [Double trouble edit] Ok...replacing width with $stylevar[outertablewidth] allows the graphic to scale with the browser but the initial graphic doesn't fit the window...? Learning as I go. Making a new image (larger) didn't work as far as sizing? Hmmm. Hope others are reading this and learning too! :) |
Hehe. Self-service is fantastic. :)
|
All times are GMT. The time now is 04:55 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|