Embedded SDrive blog text is centered...

User 2506015 Photo


Registered User
1 post

Hi,

I'm having an issue with my embedded blog. When I view the website, the text of the blog is centered, and not left aligned. I can't see anything in visual site designer that would make the text centered. When I view the stream from CoffeeCup only the text is left aligned.

Is there anything I can do to fix this?

Here is what I've tried,

I noticed the body style of the blog had centered text. I edited the blog code to say left

body {
margin:0px;
padding :0px;
text-align:left;
height:100%;
width:100%;
background-color: #ffffff;
}


It did say
body {
margin:0px;
padding :0px;
text-align:center;
height:100%;
width:100%;
background-color: #ffffff;
}


Can anything be done?

http://brentonianentertainment.com/
User 187934 Photo


Senior Advisor
20,271 posts

Hi Brent,
In VSD click "Page" at the top of the design window. Now in the properties box that opens to the right check the "Center design" box.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 298877 Photo


Ambassador
292 posts

Hi Brent,

The easiest way around this would be to drop your stream into an iframe.

This is achieved by simply choosing the add HTML button on the left within VSD and clicking where you want it to appear. Then in the resulting window there are three tabs. In the one called Body HTML you write:

<iframe width=xxx height=xxx frameborder="0" src="http://YOURACCOUNT.coffeecup.com/stream"></iframe>


In each case, make xxx your choice of width and height (in pixels) and change YOURACCOUNT to your S-Drive account name.

This will imbed the stream with the specific properties as per your customized settings in your S-Drive stream. So, if it is left justified there, then it will appear left justified on your VSD created page regardless of other CSS and markup which may be causing the problem you are experiencing.

See my http://blog.fixtronix.com for an example of this in use

Dave :)

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.