The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

how to align this in the center

Go down

how to align this in the center

Post by Paradise on November 20th 2013, 7:26 am

I got this code which helps to disply feeds in one's forum. But, I got a problem which is, I would want the entry title to be positioned in the center


Code:
<!-- start sw-rss-feed code -->
<script type="text/javascript">
<!--
rssfeed_url = new Array();
rssfeed_url[0]="http://www.favouriteforum.com/feed"; 
rssfeed_frame_width="750";
rssfeed_frame_height="1200";
rssfeed_scroll="on";
rssfeed_scroll_step="6";
rssfeed_scroll_bar="off";
rssfeed_target="_top";
rssfeed_font_size="15";
rssfeed_font_align_position="center";
rssfeed_font_face="";
rssfeed_border="off";
rssfeed_css_url="";
rssfeed_title="off";
rssfeed_title_name="";
rssfeed_title_bgcolor="#3366ff";
rssfeed_title_color="#fff";
rssfeed_title_bgimage="http://";
rssfeed_footer="on";
rssfeed_footer_name="";
rssfeed_footer_bgcolor="#EAFBFC";
rssfeed_footer_color="#333";
rssfeed_footer_bgimage="http://";
rssfeed_item_title_length="50";
rssfeed_item_title_color="#18698F";
rssfeed_item_bgcolor="#EAFBFC";
rssfeed_item_bgimage="http://";
rssfeed_item_border_bottom="on";
rssfeed_item_source_icon="on";
rssfeed_item_date="off";
rssfeed_item_description="on";
rssfeed_item_description_length="120";
rssfeed_item_description_color="#666";
rssfeed_item_description_link_color="#333";
rssfeed_item_description_tag="off";
rssfeed_no_items="0";
rssfeed_cache = "232c1746a7bae1b649c68043a8ffa4f6";
//-->
</script>
<script type="text/javascript" src="http://feed.surfing-waves.com/js/rss-feed.js"></script>
<!-- The link below helps keep this service FREE, and helps other people find the SW widget. Please be cool and keep it! Thanks. --> <div style="text-align:right; width:750px;"><a href="http://www.surfing-waves.com/feed.htm" target="_blank" style="color:#EAFBFC;font-size:10px">widget @</a> <a href="http://www.surfing-waves.com" target="_blank" style="color:#EAFBFC;font-size:10px">surfing-waves.com</a></div>
<!-- end sw-rss-feed code -->
avatar
Paradise
Forumember

Male Posts : 105
Reputation : 1
Language : English

http://uniquecitizens.forumotion.com/u1

Back to top Go down

Re: how to align this in the center

Post by Ikerepc on November 20th 2013, 8:40 am

Hello

Please write what you want center, I mean what part.

And can you please make screenshot, how it looks, and tag on image what you want to center.
avatar
Ikerepc
Active Poster

Male Posts : 1150
Reputation : 155
Language : Croatian, HTML, HTML5, CSS, CSS3, jQuery, PHP, SQL, Bascom, Python, C, C++, FBD & LAD for PLC and more... Little English :D
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

Re: how to align this in the center

Post by Paradise on November 20th 2013, 9:22 am

The content that would be displayed in the widget

here is my forum http://www.favouriteforum.com
avatar
Paradise
Forumember

Male Posts : 105
Reputation : 1
Language : English

http://uniquecitizens.forumotion.com/u1

Back to top Go down

Re: how to align this in the center

Post by Ikerepc on November 20th 2013, 9:56 am

You want center all of that?

If yes, you can put before code all codes
Code:
<div class="hgf1">
and on the end
Code:
</div>
And this code before first div code
Code:
<style type="text/css">.hgf1 {
margin-left:auto;
margin-right:auto;
text-align:center;
}</style>
I think it need to work.
avatar
Ikerepc
Active Poster

Male Posts : 1150
Reputation : 155
Language : Croatian, HTML, HTML5, CSS, CSS3, jQuery, PHP, SQL, Bascom, Python, C, C++, FBD & LAD for PLC and more... Little English :D
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

Re: how to align this in the center

Post by Paradise on November 20th 2013, 10:24 am

Not working
avatar
Paradise
Forumember

Male Posts : 105
Reputation : 1
Language : English

http://uniquecitizens.forumotion.com/u1

Back to top Go down

Re: how to align this in the center

Post by Ikerepc on November 20th 2013, 10:43 am

You can try just put on begin of that what you want center
Code:
<center>
and on end
Code:
</center>
avatar
Ikerepc
Active Poster

Male Posts : 1150
Reputation : 155
Language : Croatian, HTML, HTML5, CSS, CSS3, jQuery, PHP, SQL, Bascom, Python, C, C++, FBD & LAD for PLC and more... Little English :D
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

Re: how to align this in the center

Post by Paradise on November 20th 2013, 11:52 am

i have tried it, not working
avatar
Paradise
Forumember

Male Posts : 105
Reputation : 1
Language : English

http://uniquecitizens.forumotion.com/u1

Back to top Go down

Re: how to align this in the center

Post by Luffy on November 20th 2013, 3:12 pm

write at the beginning of the code
Code:
<p class="center">
and at the end of the code
Code:
</p>



avatar
Luffy
Manager
Manager

Male Posts : 5239
Reputation : 561
Language : Greek, English
Location : Greece

https://www.crossroadz.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum