function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How do you add a list of "weblinks" to a visualforce page and have thngs line up?

I am very new to the developer side of things. I am trying to build a Visualforce page to function as a "Landing Page" on our Partner Portal. Partners looking to get trained in our products will click the link and be taken to the Landing Page (my VF page) and I need to create a list of all the training videos they can watch. I need the list of 10-12 videos to line up properly, with column headings. There are three columns, 1) Course Code 2) Course Title & 3) Weblink.
I don't know how to "space" things out or add the bourderlines.
Thank you
You can use <apex:pageBlockTable> or - just a standard HTML table.  Eitherway - use the width keyword to specify the width.  Shouldn't have to use the css text-align, but you might.

    <th width="150px:">Course Code</th>
    <th width="250px;">Course Title</th>
    <th width="400px;">WebLink</th>
    <apex:repeat value="{!listNameFromController}" var="courseRow">
            <td style="text-align:left;">{!courseRow.fieldNameForCourseCode}</td>
            <td style="text-align:left;">{!courseRow.fieldNameforCourseTitle}</td>
            <td style="text-align:left;">{!courseRow.fieldNameForCourseWeblink}</td>
Please remember to mark your question as "Best Answer" if it was answwered.