News:

Our Community Comic "Gunbaby" is and always will be open for submissions. Any submissions received will run on the site front page on Sundays.

Comic press help

Started by Swaptrick, January 23, 2010, 11:01:27 AM

Previous topic - Next topic

Swaptrick

I need some code help. I need to know how to edit the header code to make a sidesaddle logo and banner ad much like the sandy website featured on the on site review.

mattstout

I just created a table in the header section of my site.  The table has a single column and two rows.  Here's what my header div looks like:
Quote<div id="header">

<table style="table-layout:fixed;">
  <tr>
    <td> <a href="http://www.bigsandygilmore.com">
<img src="/logo.png"></a></td>
    <td><My project wonderful code> </td
  </tr>
</table>



</div>

Swaptrick

#2
Thank you, I didn't even think about putting in table code. Also it appears when I click on your sig, the link has a second ".com" on it and bring up a search engine instead of your site.

Swaptrick

Alright, using the table code technique I've improved the header area, added the PW ad, and added two links on the side column for Facebook and RSS. Also adds a bit of color variety to the main page.

www.swaptrick.com

CorvusErebus

That looks great. Now both of you be real men and switch that code over to proper CSS defined div code. Shouldn't take 10 minutes, and the HTML gods won't have to eviscerate you. ;D

Swaptrick

I'm too busy being a real man drawing comics and playing Star Trek Online thank you very much :P

Rob

I don't know if you checked multiple browser functionality but I'm using Chrome and the logo you added next to the banner is being resized so small it's impossible to read. It's like half an inch wide.

Just FYI.  ;)

Swaptrick

Yeah I noticed that too. I know its sized correctly in Firefox and Explorer, what is the remedy to something like that? Making it standard CSS code?

Rob

I hope that question wasn't aimed at me. Sorry. I take a very "turn the key and it goes" approach to computers. Ask Corvis or Chadm1n. They might be able to tell you. I have no idea. For all I know it could be tiny because you spilled shrinking potion on your computer. Or perhaps left it in the dryer to long.  8)

Swaptrick

I figured leaving it in the dryer too long would cause problems damnit arg!

Xade

Although I am no fan of comicpress, I am wondering how you have your banner. Is it as an upload in the UCP or did you upload it and link it as a background to the div in css. I was having lots of trouble until I did the latter, back when I had comicpress.

Avatar from Wazaga
My Twitter

Swaptrick

I basically threw the code into a text widget in the header area.

Xade

that might pose to be a problem with Chrome *opens in firefox* hmm, try setting the title image size and if needed the table cell size as well. This really isnt really a cp problem, more of a compatibility problem. Netscape would probably do the same thing that chrome does.

Avatar from Wazaga
My Twitter

Swaptrick

Alright I managed to set the table size, see if that helps with other browsers. I know Opera on the iPhone no longer compressed the image.

Rob

That did it for me. Looks fine now.  ;)