HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


What could I be doing wrong?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#20270 (In Topic #4727)
Avatar

Fan in training

Hello,
I've tried changing the template and the css, but still my site does not look the way I want.  I've been working with css & html for years so I have a pretty good handle on how to set that up, but still I'm not coming out with what I want.

If you go to: http://streetsmartlive.com/network_city1.html you can see the look that I want.  I have changed the css body to be 900 wide but still my site is wider, I have added the border around the pic to the top.tpl, but still I get no border.  

Right now, I'm pulling my hair out trying to figure this out and it should be easy.

Regards
Pattie
Back to the top
 
Posted
Rating:
#20271
Avatar

Try putting 'position: relative;' into the body CSS class. ocPortal's top level layout is done using absolute positioning, and this will cause the body tag to act as the reference point for that positioning, as opposed to the window.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#20273
Avatar

Fan in training

Chris,
I've tried that and still it is not centered.  I do have  a border now, but there is a gap between the bottom of the pic & the border.  

I've read through the guides, but did I miss something?  It seems that the most basic of things that I want to accomplish are not so basic.
Regards
Pattie
Back to the top
 
Posted
Rating:
#20275
Avatar

You may need 'margin-left: auto; margin-right: auto' in there to center it.

This issue isn't really anything to do with ocPortal itself really - it's all standard CSS and XHTML technology, and the ocPortal defaults are all open in the CSS files and templates for editing (with a clean framework to do it in, and tools provided). So, we go out of our way to make a framework, but any complexity with CSS and XHTML lies with CSS and XHTML, not ocPortal.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#20292
Avatar

I've decided to write you a new tutorial, with a walk-through example on how to create a fixed-width layout. I've never done that before myself, and there's also the usual support duties and bug fixing I need to get done, so it'll be a few hours before that will be completed. I'm also aware of a few automated bug reports from your site, that look like it wasn't fully upgraded to the latest version - I'll of course investigate those too.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#20297
Avatar



Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: