over my head with html

charlesoutcaltcharlesoutcalt Registered Users Posts: 100 Big grins
edited March 27, 2008 in SmugMug Support
I have to admit that I know zip about html. I have a question that I hope isn't too tough to answer.

I just inserted html from Dreamstime into my Smugmug page to give visitors a way to get to my Dreamstime portfolio directly. That html is supplied by Dreamstime directly. The problem is that the Dreamstime html puts the content smack on the left border of the page. I would much rather it be in the center. Is there a way to change the alignment from the left to the center?

Here's my page, where you can see the Dreamstime content in the wrong place:

www.potomacpix.com

I tried posting the html, but this box wanted to treat the html text as real html, and so re-created the link within this window (rather than just displaying the text).

Comments

  • denisegoldbergdenisegoldberg Administrators Posts: 14,339 moderator
    edited March 27, 2008
    You should be able to position that box with CSS. Try this:

    Add this to your CSS:
    #myPortfolio {
        text-align: center;
    }
    
    Then, wherever you are adding your Dreamstime code, I assume in your footer, surround that code with (but remove the *s!):
    <*div [B]id[/B]="myPortfolio">
    Dreamstime code here
    <*/[B]div[/B]>
    
    --- Denise
  • charlesoutcaltcharlesoutcalt Registered Users Posts: 100 Big grins
    edited March 27, 2008
    thanks!
    Denise, thanks a million. I have to run to work now (to make $ for more camera gear!), but I'll try this asap when I'm done.
  • charlesoutcaltcharlesoutcalt Registered Users Posts: 100 Big grins
    edited March 27, 2008
    Got it to work!
    Thanks, Denise. I was able to make things work. I owe you big time!
Sign In or Register to comment.