473,503 Members | 1,803 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Centering Header Image on Tumblr

1 New Member
Hi was wondering if anyone can help!?

I am trying to centre my header image on Tumblr.

Probably easy but I can't make it work!

This is the code I have

Expand|Select|Wrap|Line Numbers
  1. <div id="container"> <div class="header"> <table width="500"> <tr valign="baseline">
  2. {block:IfHeaderImage}<td width="180"><a href="/"><img src="{image:Header}" style="max-width: 100%"/></a></td>{/block:IfHeaderImage}
  3. {block:IfNotHeaderImage}<td width="250"><a href="/"><h1 class="cufon">{Title}</h1></a></td>{/block:IfNotHeaderImage}
  4. {block:Description}<td width="250" class="description">{Description}</td>{/block:Description}
  5. </tr> </table>
Any help would be appreciated!
Aug 5 '13 #1
0 1162

Sign in to post your reply or Sign up for a free account.

Similar topics

1
3175
by: Jason Quinn | last post by:
This is an absurdly simple question. Suppose I have a paragraph which contains an image (of an equation) and I'd like the image to be centered in the middle of the paragraph with space above and...
2
1885
by: Greg Shannan | last post by:
I normally centre an image using a <p align="center"> ... </p> format, but I understand that this is "deprecated" in the latest standard in favour of styles. The problem is that I cannot find a...
6
4782
by: Robert Smith | last post by:
I thought I had seen this done on another site but I can't find it. I want to have a header at the top of the page, centered, no matter the resolution. I got it working with an ugly scroll bar at...
2
2132
by: cjl | last post by:
Hey all: I have a div of a known size, 672px X 672px. In it I will display images that are of unknown size. I have two simple functions that shrink and center the image: function shrink() {...
1
1497
by: laredotornado | last post by:
Hello, Is it possible to center an image that I put as a background to a table cell? How could this be done using CSS? Thanks, - Dave
6
2300
by: Jerry Camel | last post by:
I want to center an image on the screen and have text centered over the image. What's the best way to do this? I've been playing with style tags and I can get the stuff to center automatically...
0
1068
by: gerstla | last post by:
hi I am building a simple control to view images with zooming capabilities. i want the image to zoom when it is clicked on and try to center the point clicked .the code I am using know for centering...
0
965
by: inqa | last post by:
i have new variabel width and height, both of them have a value :(width=*&^ and height=%^*) . i want to insert that variable and their's value to another header image, but i can't, may i get the...
16
4905
by: stevedude | last post by:
CSS newbie again. I have a problem trying to get coffee mug images within anchor tags to center with my link text for a vertical list menu. If I use the horizontal/vertical properties of...
3
2018
by: neridal | last post by:
My issue is that I have created a webpage using a template, but the header image doesn't show in firefox. It appears correctly when using IE. Any suggestions? Thanks for any help.... I am kinda...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7460
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.