mySpace latestBlogEntry Blog table style hide
MySpace Profile Blog Table
note:This article covers the blog table on the main profile page. If you are looking for information related to the styling the blog content page go here:
myspace blog page customizing
The code on this page consists of css STYLE commands. I did not provide style tags with each code block.
Before Using the below code blocks, start with this style block:
Explanation of Blog Table Location and Structure
The blog table is assigned to class="latestBlogEntry"
This class exists on the standard page, band page and other artist pages (film page, comedy page)
Please refer to the following myspace page to see how this table is structured.
This is a real myspace page, with style code added to show the parent relationships, laying, classes, and other attributes which can be used to manipulate this table.
Regular MySpace Page Showing Structure, Layout, Classes
The above page is best viewed in FireFox or Opera. IE does not recognize the border-spacing attribute, making it more difficult to see the layering. You can download FireFox using the link in my SideBar
Using the key to the left of the page, and looking at the blog area we can determine the following:
The blog table is this deep:
table td table td.text table.latestBlogEntry
The td I have colored red adds NO value to the above address.
I usually leave it out.
There are multiple other equivalent address strings to address this space.
Sometimes I use just this:
table.latestBlogEntry
I try to avoid this (for multiple reasons), but sometimes I get lazy and use it:
.latestBlogEntry
My diagram does NOT show rows (neither IE or FF do anything with a border applied to a row).
Looking at the cells (shown with dashed borders) one can see that the table consists of multiple rows, each row with one cell.
The first row/cell has the header and "subscribe" link
The last row/cell has the "view all blog entries" link
The cells in-between have the subject and links to the actual blog entries.
We can address the header cell as follows:
table.latestBlogEntry tr:first-child td
The above does not work in IE6. I have not tested it in IE7, but according to the documentation it should work in IE7. It does work in FF, Opera, Mozilla, Safari.
We can address the actual Header in this cell as follows:
table.latestBlogEntry td span.btext
Hide or Remove Blog Table
I can remove the blog table with the following code block:
If you do not want to remove the whitespace, instead of {display:none} use {visibility:hidden}
If you want to eliminate the space caused by the carriage return, you can do this by adding a negative top margin to the element just below the blog table, or a negative bottom margin to the element just above the blog table. If you still have your blurbs do this
Move Blurb Table Up slightly
To put a border around the entire table I do this:
If I want a border around each cell, which will separate each entry, I can do this:
This is because this cell has been assigned a white background in the myspace code.
We can remove this as follows:
Replace Blog With a Background Image
Replace Blog With Object,Video or Link
If you want to turn your image into a link OR put an object (such as a video) in this space, I recommend that you REMOVE the blogs space, and then create a custom div above the Blubs.
MySpace Custom Content Above Blurbs
note:This article covers the blog table on the main profile page. If you are looking for information related to the styling the blog content page go here:
myspace blog page customizing
The code on this page consists of css STYLE commands. I did not provide style tags with each code block.
Before Using the below code blocks, start with this style block:
<style type="text/css">
{!-STYLE blog table-!}
</style>
You can now choose the commands you wish to use, and place them in the above block, to create your own blog table style block.Explanation of Blog Table Location and Structure
The blog table is assigned to class="latestBlogEntry"
This class exists on the standard page, band page and other artist pages (film page, comedy page)
Please refer to the following myspace page to see how this table is structured.
This is a real myspace page, with style code added to show the parent relationships, laying, classes, and other attributes which can be used to manipulate this table.
Regular MySpace Page Showing Structure, Layout, Classes
The above page is best viewed in FireFox or Opera. IE does not recognize the border-spacing attribute, making it more difficult to see the layering. You can download FireFox using the link in my SideBar
Using the key to the left of the page, and looking at the blog area we can determine the following:
The blog table is this deep:
table td table td.text table.latestBlogEntry
The td I have colored red adds NO value to the above address.
I usually leave it out.
There are multiple other equivalent address strings to address this space.
Sometimes I use just this:
table.latestBlogEntry
I try to avoid this (for multiple reasons), but sometimes I get lazy and use it:
.latestBlogEntry
My diagram does NOT show rows (neither IE or FF do anything with a border applied to a row).
Looking at the cells (shown with dashed borders) one can see that the table consists of multiple rows, each row with one cell.
The first row/cell has the header and "subscribe" link
The last row/cell has the "view all blog entries" link
The cells in-between have the subject and links to the actual blog entries.
We can address the header cell as follows:
table.latestBlogEntry tr:first-child td
The above does not work in IE6. I have not tested it in IE7, but according to the documentation it should work in IE7. It does work in FF, Opera, Mozilla, Safari.
We can address the actual Header in this cell as follows:
table.latestBlogEntry td span.btext
Hide or Remove Blog Table
I can remove the blog table with the following code block:
table.latestBlogEntry {display:none}
The above will remove the blog table and the space it occupied. It will leave behind a Carriage Return.If you do not want to remove the whitespace, instead of {display:none} use {visibility:hidden}
If you want to eliminate the space caused by the carriage return, you can do this by adding a negative top margin to the element just below the blog table, or a negative bottom margin to the element just above the blog table. If you still have your blurbs do this
Move Blurb Table Up slightly
{! move blurb table up about one Carriage Return !}
table.blurbs {margin-top:-13px}
Add BorderTo put a border around the entire table I do this:
{! put border around blog table !}
table.latestBlogEntry {border:4px solid; border-color:pink} Add Border to CellsIf I want a border around each cell, which will separate each entry, I can do this:
{! add borders to individual entries in blog table !}
table.latestBlogEntry td {border:2px solid; border-color:green}
Add Background Color to Blog Table{! add background color to blog table !}
table.latestBlogEntry {background-color:lightblue}Notice that when you do this, only the bottom cell doesn't show the color of the background, but instead is white.This is because this cell has been assigned a white background in the myspace code.
We can remove this as follows:
{! remove white background from blog table last cell !}
table.latestBlogEntry td {background-color:transparent}
Add Background Image to Blog Table{! add background image to blog table !}
table.latestBlogEntry {background-image:url(http://i14.tinypic.com/6c4xffr.jpg);
background-position:center center; background-repeat:repeat;}
table.latestBlogEntry td {background-color:transparent;}
Add Background Color to Blog Cells{! add background color to blog table cells !}
table.latestBlogEntry td {background-color:violet}Replace Blog With a Background Image
{! Replace Blog with a background image !}
{! size blog table to same size as image !}
table.latestBlogEntry {height:90px; width:200px;}
{! apply background image !}
table.latestBlogEntry
{background-image:url(http://i14.tinypic.com/6c4xffr.jpg);
background-position:center center; background-repeat:no-repeat;}
{! hide and minimize table content !}
table.latestBlogEntry td {visibility:hidden;}
table.latestBlogEntry td * {display:none;}
table.latestBlogEntry td {height:0px; width:0px; font-size:1px; line-height:1px; padding:0px; margin:0px;}
table.latestBlogEntry br {display:none;}Replace Blog With Object,Video or Link
If you want to turn your image into a link OR put an object (such as a video) in this space, I recommend that you REMOVE the blogs space, and then create a custom div above the Blubs.
MySpace Custom Content Above Blurbs
Thank you for Visiting; Have a Nice Day
hide blog no white space
hide blog no white space
15 Comments:
does anyone know how to hide just the view all blog entries link?
Hi there, great stuff here. could u please tell me how i could swap the positions of the table.latestblog entry with the table.profileinfo ?
marcus,
Unless you swap the entire right side with the entire left side, or use absolute positioning and deal with stuff not aligning well,
you probably do not want to swap
those two elements.
hey
any chance you can explain how to just hide the "subscribe" and "view all" links.
would you have to hide the first and last cells?
cheers
Im having trouble repositioning my blog. In FF, it will show over my divs, but in IE it stays behind them. Does anyone have an idea as to how to get the text to display over the images?
Thank You
Is it possible to move your blog list to a new section in a div layout? i want it to display, just in diffrent area.
how can i fix the line height of the .latestblogentry ?? it shows different in FF and IE and
I'm having severe issues here. Look at the latestBlogEntry on my page here:
www.myspace.com/GuitarGyro
(the table with the headers "Music Player" and "Blog")
My code is setup such that the table itself is within the main DIV for the page (done via your tutorials) and the Blog stuff is simply UNhidden, appears at the bottom of the page, and CSS positions it so that it *appears* to be placed in a table cell, but it's really positioned/layered overtop.
Here are the issues w/ my current code:
In IE6:
Placement all works OK, but I CANNOT seem to get the header (done w/ plain tr and not th tags)row to be at a fixed 20px tall. It always wants to consume 50% of the table!
In FF:
The table works fine, however it positions the left-most edge of the latestBlogEntry table in the middle of the cell. The code sets it to left:50%, but that should be in the overall table, not the cell since really the latestBlogEntry isn't actually IN that table cell, it's just positioned on the page to look like it is.
I'll give you ther pertinent code:
CSS
table.latestBlogEntry {position:absolute; top:715px; height:80px; width:400px; overflow:auto; left:50%; border:2px solid; border-color:white;}
.barbackground {
background-image:url(image URL in here); height:20px;
}
.PlayerAndBlog {
width:800px;
height:150px;
border:white 1px solid;
border-color:white;
}
And here is the HTML
<table class="PlayerAndBlog">
<tr class="barbackground" style="height:20px;">
<td class="blacktext" style="width:400px;height:20px;"><center>Music Player</center></td>
<td class="blacktext" style="width:400px;height:20px;"><center>Latest Blog Entry</center></td>
</tr>
<tr style="height:80px;">
<td style="height:80px;">
<font class="whitetext">
Coming soon... maybe
</font>
</td>
<tdstyle="height:80px;"></td>
</tr>
</table>
As you can see I resorted to sticking the
style="height:20px;"
etc. everywhere in my attempt to fix it, but that's not working either.
Suggestions?
GuitarGyro
I was just wondering where I post the code for the background image in the latest blog entry table on main page, because I've tried in the "About Me" section of my myspace, and it isn't working... could there be a sort of "counter code" that is in the layout code I have that could be keeping the code from working?
counter code should not stop background code from working.
This guy has a tool for generating code to apply a background or other style to the blogs
Click Here
Select blogs, and then you have some options. One is to apply a background.
Then paste this code at the VERY top of your about section (so as to insure it is not placed inside some other style block, it will come with its own style tags).
FABULOUS!
I was wondering if anyone knew how to add an image to other tables?
Thanks!
i'm having trouble finding the simple text color code for the blog entry titles.
most gens offer the coding for the view all and subscribe links, but don't differentiate which code affects the actual blog titles.
any help would be appreciated, thanks!
Does anyone know how to change to blog title to an image??
Heyy! well i have a fan myspace page and there is a click for everything, but it just shows all my blogs. i want it to be like you have to click a link to get from one blog to another blog, can someone help me?
how can i replace the blog title with an image? does anyone know?
send me a message to:
myspace.com/emovictoria
Post a Comment
Links to this post:
Create a Link
<< Home