![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to put a logo in the top right hand corner of a two column (content, plus right hand navigation sidebar) liquid layout, styled with CSS. First I tried a fixed width div floated right, width equal to the logo. The logo was included as a background image in the sidebar div, and the div was the same width as the logo. Not happy when fonts are enlarged, so that seemed the wrong approach. Next I did a very wide two tone background image for the body, used background: #444 url(images/background4000rgb444_666.gif) 75% 0 repeat-y ; to make things look like two columns. Now I could make my sidebar something close to 25%, and handle different width displays. However my logo sits off in the right hand top, looking too narrow when a wide browser window is available. What I need is a logo that stretches horizontally when the display gets wider. Since the logo had only about 5 strong horizontal areas on its far left hand side, I thought I could imitate these five areas in the sidebar div with a set of divs with coloured borders. I was thinking along these lines because I had seen some national flags done with borders, and had just tried the same idea to do some sparkline like graphs, dimensioned in ems so they expanded and contracted with the type size used. So to imitate the left hand side of the 100 px wide 159 px high logo I used- !-- Do weird things with divs to allow logo to appear to expand within sidebar -- div style="border-style: solid; border-width: 0 0 57px 0; border-color: #888; margin-right: 98px; "></div div style="border-style: solid; border-width: 0 0 1px 0; border-color: #0819b1; margin-right: 98px; "></div div style="border-style: solid; border-width: 0 0 94px 0; border-color: #008484; margin-right: 98px; "></div div style="border-style: solid; border-width: 0 0 1px 0; border-color: #002685; margin-right: 98px; "></div div style="border-style: solid; border-width: 0 0 6px 0; border-color: #fff; margin-right: 98px; "></div However it would be very messy to put this into each HTML page. Would I be correct to imagine a more standard way of solving this problem would be to somehow generate a very wide logo image, and just let more or less of it be visible in the sidebar? I am graphically challenged, and didn't find any tool that could modify the image (all my searches lead to Photoshop, which I don't own). If that is the correct approach, I'll find a way to make the graphic. -- http://www.ericlindsay.com |
#3
| |||
| |||
|
|
However my logo sits off in the right hand top, looking too narrow when a wide browser window is available. What I need is a logo that stretches horizontally when the display gets wider. |
#4
| |||
| |||
|
|
I want to put a logo in the top right hand corner ... So to imitate the left hand side of the 100 px wide 159 px high logo I used- div style="border-style: solid; border-width: 0 0 57px 0; border-color: #888; margin-right: 98px; "></div div style="border-style: solid; border-width: 0 0 1px 0; border-color: #0819b1; margin-right: 98px; "></div div style="border-style: solid; border-width: 0 0 94px 0; border-color: #008484; margin-right: 98px; "></div div style="border-style: solid; border-width: 0 0 1px 0; border-color: #002685; margin-right: 98px; "></div div style="border-style: solid; border-width: 0 0 6px 0; border-color: #fff; margin-right: 98px; "></div |
|
However it would be very messy to put this into each HTML page. |
|
Would I be correct to imagine a more standard way of solving this problem would be to somehow generate a very wide logo image, and just let more or less of it be visible in the sidebar? |
#5
| |||
| |||
|
|
Hi, I'm from Russia, and I don't completely understand, what you want - too much letters. In two words - say, what you want, in two sentences, something like: "I want make picture as background of my site's header. But I can't make picture." or "I need that in my site's header there were Site's Title on Gray BG, Then Blue delimiter and then Green textfield." If I understand what you need, I make it. Greetings. Mikhail Kechinov. www.mkechinov.ru |
|
However it would be very messy to put this into each HTML page. Would I be correct to imagine a more standard way of solving this problem would be to somehow generate a very wide logo image, and just let more or less of it be visible in the sidebar? |
|
I am graphically challenged, and didn't find any tool that could modify the image (all my searches lead to Photoshop, which I don't own). If that is the correct approach, I'll find a way to make the graphic. |
#6
| |||
| |||
|
|
In article <1167294371.872301.67460 (AT) 48g2000cwx (DOT) googlegroups.com>, "noff" <kechinoff (AT) gmail (DOT) com> wrote: Hi, I'm from Russia, and I don't completely understand, what you want - too much letters. In two words - say, what you want, in two sentences, something like: "I want make picture as background of my site's header. But I can't make picture." or "I need that in my site's header there were Site's Title on Gray BG, Then Blue delimiter and then Green textfield." If I understand what you need, I make it. Greetings. Mikhail Kechinov. www.mkechinov.ru Many thanks for your offer. You are correct, too many letters. However it would be very messy to put this into each HTML page. Would I be correct to imagine a more standard way of solving this problem would be to somehow generate a very wide logo image, and just let more or less of it be visible in the sidebar? For test purposes, I just wrote a web page with a set of 5 divs where one border of each was styled with the colours and height I needed to match (and the other borders didn't exist). Since they stack, I set a margin to reveal the picture, and then stretched the web page really wide (about 4000 pixels). That let me use use the Grab app to capture the now - apparently - stretched logo, and test whether this would work. It does. And I can stuff it back in to a web page as a background image to test if it works. It does! Yeah! If the resulting graphic were better, this would be exactly what I need. Now I just need to find the right graphics app so I don't try to do this in some equally weird manner I am graphically challenged, and didn't find any tool that could modify the image (all my searches lead to Photoshop, which I don't own). If that is the correct approach, I'll find a way to make the graphic. I have asked in Macintosh newsgroups to see whether anyone can point me to a suitable graphics application. When I get a bit more of this solved I will upload the result and ask my remaining questions. Thanks to everyone. -- http://www.ericlindsay.com |
#7
| |||
| |||
|
|
Free graphics editors: http://www.ironspider.ca/freetools/grfxeditors.htm Use anyone to paint your problem and than we will see, whats a problem. // ...please, learn me speak english, I dont know many (much?) words. PS: if you already have some html-result of your problem, let us see it. Eric Lindsay wrote: In article <1167294371.872301.67460 (AT) 48g2000cwx (DOT) googlegroups.com>, "noff" <kechinoff (AT) gmail (DOT) com> wrote: Hi, I'm from Russia, and I don't completely understand, what you want- too much letters. In two words - say, what you want, in two sentences, something like: "I want make picture as background of my site's header. But I can't make picture." or "I need that in my site's header there were Site's Title on Gray BG, Then Blue delimiter and then Green textfield." If I understand what you need, I make it. Greetings. Mikhail Kechinov. www.mkechinov.ru Many thanks for your offer. You are correct, too many letters. However it would be very messy to put this into each HTML page. Would I be correct to imagine a more standard way of solving this problem would be to somehow generate a very wide logo image, and just let more orless of it be visible in the sidebar? For test purposes, I just wrote a web page with a set of 5 divs where one border of each was styled with the colours and height I needed to match (and the other borders didn't exist). Since they stack, I set a margin to reveal the picture, and then stretched the web page really wide (about 4000 pixels). That let me use use the Grab app to capture the now - apparently - stretched logo, and test whether this would work. It does. And I can stuff it back in to a web page as a background image to test if it works. It does! Yeah! If the resulting graphic were better, this would be exactly what I need. Now I just need to find the right graphics app so I don't try to do this in some equally weird manner I am graphically challenged, and didn't find any tool that could modify the image (all my searches lead to Photoshop, which I don't own). If that is the correct approach, I'll find a way to make the graphic. I have asked in Macintosh newsgroups to see whether anyone can point me to a suitable graphics application. When I get a bit more of this solved I will upload the result and ask my remaining questions. Thanks to everyone. -- http://www.ericlindsay.com |
#8
| |||
| |||
|
|
For future: russian adage: "Лучше 1 раз увидеть, чем 100 раз услышать". ("It's better 1 time to see, than 100 times to hear.") |

#9
| |||
| |||
|
|
Free graphics editors: http://www.ironspider.ca/freetools/grfxeditors.htm Use anyone to paint your problem and than we will see, whats a problem. |
|
// ...please, learn me speak english, I dont know many (much?) words. PS: if you already have some html-result of your problem, let us see it. |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |